问题描述:
在vue启动时报了如下错误:
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
原因分析
这是因为项目中选用了Eslint,lintOnSave的值设为了true, 使用leslint检测机制(vue.config.js文件)解决方案:
把vue.config.js文件中的 lintOnSave:ture 改成false就好了
遇到的问题,简单记录一下