关闭vue项目中Uncaught runtime errors

 

解决方法

  • 在vue.config.js中添加如下配置即可解决
module.exports = defineConfig({
	...
	devServer: {
    client: {
      overlay: false
    }
  }
})

参考网站

本文遵守 Attribution-NonCommercial 4.0 International 许可协议。 Attribution-NonCommercial 4.0 International