解决vue项目运行出现warnings potentially fixable with the `--fix` option的报错问题
程序员文章站
2022-03-07 14:16:54
问题:vue-cil3 运行报错 warnings potentially fixable with the `--fix` option.原因:与创建项目 eslint 设置有问题,可以通过“—fi...
问题:vue-cil3 运行报错 warnings potentially fixable with the `--fix` option.
原因:与创建项目 eslint 设置有问题,可以通过“—fix”选项修复
解决办法:将一下部分:"lint": "vue-cli-service lint" 修改为:eslint --fix --ext .js,.vue src
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。