errors and 0 warnings potentially fixable with the `--fix` option.
vue 项目运行过程中出现 3 errors and 0 warnings potentially fixable with the --fix option. 的错误报错问题:原因一在创建vue项目中,会选择linter/Formatter,eslint-config-standard"standard"插件代表的是eslint的standard插件都要安装所以参考一下以下依赖是否安装解决方法:
·
vue 项目运行过程中出现 3 errors and 0 warnings potentially fixable with the --fix
option. 的错误
报错问题:
原因一
在创建vue项目中,会选择linter/Formatter,eslint-config-standard
"standard"插件代表的是eslint的standard插件都要安装
所以参考一下以下依赖是否安装
解决方法:
将 “@vue/standard” 删除
原因二
与创建项目 eslint 设置有问题,可以通过“—fix”选项修复
将 “lint”: “vue-cli-service lint”
更改 “lint”: “eslint --fix --ext .js,.vue src”
更多推荐
已为社区贡献4条内容
所有评论(0)