坑爹集锦一:
npm出现Newline required at end of file but not found错误
原因:eslint语法错误(vue为后缀名的组件结尾没有换行)
解决办法:在结尾后面换行。。如下图
解决前:
解决后:
这样设置后,之前的页面瞬间脉动回来!!!
附:新手建议不要开启eslint。。。
坑爹集锦一:
npm出现Newline required at end of file but not found错误
原因:eslint语法错误(vue为后缀名的组件结尾没有换行)
解决办法:在结尾后面换行。。如下图
解决前:
解决后:
这样设置后,之前的页面瞬间脉动回来!!!
附:新手建议不要开启eslint。。。
转载于:https://www.cnblogs.com/myTerritory/p/6888927.html