vue-router配置路由出现错误: Mixed spaces and tabs no-mixed-spaces-and-tabs

一,问题描述:

vue-router配置路由index.js出现错误: Mixed spaces and tabs no-mixed-spaces-and-tabs

二,原因分析:

看错误报告,spaces tabs 猜测是格式上少了或者多了空格

三,解决方案:

对indx.js文件shift+alt+F格式化一下,就OK了

原文地址:https://www.cnblogs.com/Xieyingpeng/p/15172649.html