新建Vue项目,报错Expected indentation of 2 spaces but found 8

新建一个VUE项目,写一个简单的.vue组件,项目编译过程中报错Expected indentation of 2 spaces but found 8,看网上原因是ESLin校验出来的错.我是使用的idea的,然后试了一些网上的方法没有效果,最后,添加一下校验规则问题得到解决:

新建Vue项目,报错Expected indentation of 2 spaces but found 8_第1张图片

你可能感兴趣的:(VUE学习,vue)