vue3 报错Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore

借鉴关于vue关闭eslint校验-CSDN博客

问题

vue3 报错Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore_第1张图片

操作原理:先关闭eslint校验

操作:在vue.config.js中添加设置 lintOnSave:false

 lintOnSave:false

vue3 报错Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore_第2张图片

你可能感兴趣的:(vue,vue.js,前端,javascript)