Vue3配置路由ERROR in [eslint]报错问题及解决

 更新时间:2023年10月19日 10:20:08   作者:痴心阿文  
这篇文章主要介绍了Vue3配置路由ERROR in [eslint]报错问题及解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教

ERROR in [eslint]报错问题解决

第一步

vue.config.js 文件配置

const { defineConfig } = require('@vue/cli-service')
 
module.exports = defineConfig({
 
  transpileDependencies: true,
 
  lintOnSave: false
 
})

第二步

win+R cmd   再次运行 npm run serve

总结

以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。

相关文章

最新评论