启动vuecli3的时候出现下面这个错误:
no-mixed-spaces-and-tabs
这是由于vue中使用了eslint 规范代码,有tab和空格不能同时出现的校验规则,我们可以把这个规则关闭。
解决办法:
找到项目的package.json–eslintConfig–rules,把这个规则补充上。
"rules": {
"no-console": "off",
"no-debugger": "off",
"no-mixed-spaces-and-tabs": "off"
}