error: Expected indentation of 2 spaces but found 4 (indent) at

vue项目最近进行了更新,4版本出来了,对于正在写项目的我,不是特别的友好,出现了一些问题。
1 error: Expected indentation of 2 spaces but found 4 (indent) at
代表格式不对,在router前面应该空2个空格,空4个就会报错,解决办法就是写的时候注意格式、或者用3版本。

在这里插入图片描述

发布了24 篇原创文章 · 获赞 2 · 访问量 9193

猜你喜欢

转载自blog.csdn.net/sunmeng_sunmeng/article/details/102748171