1 problem (1 error, 0 warnings) 1 error and 0 warnings potentially fixable with

272 阅读1分钟

image.png

这个是 lint格式造成的,在总目录下新建一个vue.config.js文件,

image.png

输入以下代码

module.exports = {
    lintOnSave:false
}

最后,重启一下软件就不报错了。

若要加配置默认端口预览: module.exports = { lintOnSave:false, devServer: { port: 3333, open: true } };