- 博客(1)
- 收藏
- 关注
原创 Vue使用eslint报错
初始化Vue时,删掉一些不必要的文件,因为装了eslint,而且还安装了代码自动格式化的插件,有时候会出现如下的报错 2 problems (2 errors, 0 warnings) 2 errors and 0 warnings potentially fixable with the --fix option. 解决办法很简单 ① 项目的代码中找到.eslintrc.js 文件夹将extends中的’@vue/standard’注释掉 ②在rules中添加’space-before-function-
2021-06-10 10:28:58
663
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人