项目运行报错
执行npm run lint --fix报错
✖ 224 problems (146 errors, 78 warnings)
146 errors and 74 warnings potentially fixable with the `--fix` option.
解决方案:
项目下建立一个 .eslintignore的文件,里面可以写上不让eslint检查语法的文件后缀.
如果项目存在.eslintignore文件直接在.eslintignore文件添加如下代码
*.vue
*.js
之后重启项目 npm run dev