美文网首页
vue启动的时候报错 Mixed spaces and tabs

vue启动的时候报错 Mixed spaces and tabs

作者: 沈念一 | 来源:发表于2020-05-03 09:49 被阅读0次
image.png

报错原因:

Mixed spaces and tabs(混合空格和制表符)。

大多数代码约定要求使用空格或 tab 进行缩进,因此,一行代码若同时混有 tab缩进和空格缩进,通常是错误的,需先删除报错的地方的空格再进行编译


image.png
image.png

如果是js文件,则在报错文件前添加

/* eslint-disable */

相关文章

网友评论

      本文标题:vue启动的时候报错 Mixed spaces and tabs

      本文链接:https://www.haomeiwen.com/subject/dqtdghtx.html