将 config.index.js 下的 assetsPublicPath 修改为:
assetsPublicPath: '/',
可以解决问题。

点击切换路由的时候,有时候会报错,Error: Loading chunk 1 failed. at HTMLScriptElement.d (bootstrap 7d5ba07478b35f182b62:103)

 

相关文章:

  • 2021-06-29
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2021-09-29
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2021-05-19
  • 2022-12-23
相关资源
相似解决方案