Vue项目开发出错信息汇总

1.如图 

Vue项目开发出错信息汇总_第1张图片

.http://eslint.org/docs/rules/eol-last  Newline required at end of file but not found

You may use special comments to disable some warnings.

use // eslint-disable-next-line to ignore the next line.

use /* eslint-dissable */ to ignore all warnings in a file.

提供个简单粗暴的方法:

在webpack.base.conf.js 中查找eslint的loader,并在test后面的正则中修改文件后缀,修改为不存在的文件类型,ok。

不过这样子eslint的所有规则都匹配不到了,如果需要用到部分的eslint语法规范的话,不建议用这种方法。

Vue项目开发出错信息汇总_第2张图片

Vue项目开发出错信息汇总_第3张图片

你可能感兴趣的:(#,VUE)