报错:✘ http://eslint.org/docs/rules/indent Expected indentation of 0 s paces but found 2

在用vue.cli创建项目时遇到“Use ESLint to lint your code?”,不小心选了yes,好像也不是不小心,就是想感受一下它的严格校验,然后发现真的是很恶习,强烈建议不使用,如果真的选了yes,解决如下
在项目中找到 build\webpack.base.conf.js,注释掉这一行

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_45845039/article/details/116457490