自学内容网 自学内容网

运行vue项目报错 errors and 0 warnings potentially fixable with the `--fix` option.

报错

找到package.json文件

找到这个修改成

"lint": "eslint --fix --ext .js,.vue src"

为elsint有配置结尾换行符,最后运行:npm run lint --fix


原文地址:https://blog.csdn.net/qq_45904018/article/details/148544214

免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!