Vue项目报 Unexpected tab character (no-tabs) 错误的解决办法
一、问题在写Vue项目的时候,运行Vue项目提示错误:“http://eslint.org/docs/rules/no-tabs Unexpected tab character src\App.vue:4:2”二、解决方法1、去到项目目录,找到.eslintrc.js文件,打开.eslintrc.js文件2、在.eslintrc.js文件里面的rules里面添加命令:"no-tabs":"off
·
一、问题
在写Vue项目的时候,运行Vue项目提示错误:
“http://eslint.org/docs/rules/no-tabs Unexpected tab character src\App.vue:4:2”

二、解决方法
1、去到项目目录,找到.eslintrc.js文件,打开.eslintrc.js文件

2、在.eslintrc.js文件里面的rules里面添加命令:
"no-tabs":"off",

添加后情况如下:

添加后重新运行即可。
更多推荐



所有评论(0)