Vue报错:Mixed spaces and tabs no-mixed-spaces-and-tabs 解决办法

  • Post author:
  • Post category:vue




Vue报错:Mixed spaces and tabs no-mixed-spaces-and-tabs

解决这错误比较合理且简单的方法是:

1.找到配置文件:test目录下的.eslintrc.js文件

在这里插入图片描述

2.然后到rules里,手动添加’no-mixed-spaces-and-tabs’,然后定义为0,关闭规则

在这里插入图片描述



版权声明:本文为qq_43158726原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。