今天跑Vue3新项目出现这个错误
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.
解决方法:
在目录中找到vue.config.js
在这module.exports中添加: lintOnSave:false
lintOnSave:false
添加完后,若不出现标红,重新运行项目即可 !!!!!
若仍出现标红则,根据以下操作
关闭后,重新启动项目即可