![](https://img.haomeiwen.com/i21002461/ee6a6ebf7a8f5fba.png)
报错原因:
Mixed spaces and tabs(混合空格和制表符)。
大多数代码约定要求使用空格或 tab 进行缩进,因此,一行代码若同时混有 tab缩进和空格缩进,通常是错误的,需先删除报错的地方的空格再进行编译
![](https://img.haomeiwen.com/i21002461/c14cd4540118347c.png)
![](https://img.haomeiwen.com/i21002461/7ce79e6dbe0a2437.png)
如果是js文件,则在报错文件前添加
/* eslint-disable */
报错原因:
Mixed spaces and tabs(混合空格和制表符)。
大多数代码约定要求使用空格或 tab 进行缩进,因此,一行代码若同时混有 tab缩进和空格缩进,通常是错误的,需先删除报错的地方的空格再进行编译
如果是js文件,则在报错文件前添加
/* eslint-disable */
本文标题:vue启动的时候报错 Mixed spaces and tabs
本文链接:https://www.haomeiwen.com/subject/dqtdghtx.html
网友评论