错误如下 解决方法:在生成的package.json中,把eslint的检查关掉即可 若出现命名不规范报错,在vue.config.js中加入 lintOnSave: false, //关闭语法检查即可