解决vue项目运行出现warnings potentially fixable with the `--fix` option的报错问题

问题:vue-cil3 运行报错 warnings potentially fixable with the `--fix` option.

原因:与创建项目 eslint 设置有问题,可以通过“—fix”选项修复

解决办法:将一下部分:"lint": "vue-cli-service lint" 修改为:eslint --fix --ext .js,.vue src

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。

以上是 解决vue项目运行出现warnings potentially fixable with the `--fix` option的报错问题 的全部内容, 来源链接: utcz.com/p/240217.html

回到顶部