问题原因:模块加载错误
方法1:
vue.config.js文件:公共路径由相对路径改成绝对路径
publicPath: './',
更改为 publicPath: '/'
方法2: (如果用了路由懒加载)
取消懒加载
vue路由报错:ChunkLoadError: Loading chunk 12 failed
最新推荐文章于 2024-05-15 17:51:25 发布
问题原因:模块加载错误
方法1:
vue.config.js文件:公共路径由相对路径改成绝对路径
publicPath: './',
更改为 publicPath: '/'
方法2: (如果用了路由懒加载)
取消懒加载