vue关闭eslint语法检查
启动项目时报错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.解决方法:这样就解决了代码如下:lintOnSav
·
启动项目时报错
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.
解决方法:
这样就解决了
代码如下:
lintOnSave:false //关闭eslint检查
修改完vue.config.js中的配置一定要重新启动服务
更多推荐
已为社区贡献2条内容
所有评论(0)