vue各种问题汇聚

Unnecessary escape character: \. no-useless-escape

原因:

改为

 

sass-loader版本过高运行错误TypeError: this.getOptions is not a function

 

 

Failed to resolve Loader: sass-loader

安装 sass-loader组件到开发依赖

 

Cannot find module ‘sass’

npm install -D sass

npm install -D node-sass

 

 

error ‘XXXX’ is defined but never used no-unused-vars

意思就是不让eslint校验,我的定义有没有用了。虽然不报错了,但未必是最好解决办法。

 

 

 

发表评论