npm run dev启动项目后,修改代码,项目会自动重新编译,但是eslint会报错:No type errors found Version: typescript 3.7.5 Time: 4200ms
如图:
解决方法:
修改vue.config.js文件:
module.exports = {
publicPath: "./",
...
lintOnSave: false //添加这一行代码即可解决
}
npm run dev启动项目后,修改代码,项目会自动重新编译,但是eslint会报错:No type errors found Version: typescript 3.7.5 Time: 4200ms
如图:
解决方法:
修改vue.config.js文件:
module.exports = {
publicPath: "./",
...
lintOnSave: false //添加这一行代码即可解决
}