vue项目中Uncaught runtime errors:怎样关闭

原文链接: 

yvue项目中Uncaught runtime errors:怎样关闭_笑毅的博客-CSDN博客icon-default.png?t=N6B9https://blog.csdn.net/qq_36877078/article/details/131175355是webpack-dev-server弄出来的
解决办法
在vue.config.js中添加如下配置

module.exports = defineConfig({
	...
	devServer: {
    client: {
      overlay: false
    }
  }
})

猜你喜欢

转载自blog.csdn.net/qq_45530512/article/details/132205441