我已将Vue应用部署在以下存储库的gh-pages分支上:repository。但是,在Firefox(以及其他浏览器)中访问https://christopherkade.com/STracker会出现以下错误:
请注意,我尝试在Loading failed for the with source “https://christopherkade.com/static/js/manifest.5f330dcceda3a8431045.js”.
Loading failed for the with source “https://christopherkade.com/static/js/vendor.d99d5ed4cd2156cc1a6f.js”.
Loading failed for the with source “https://christopherkade.com/static/js/app.ccc0f9d5d6f02f3b3285.js”.
config/index.js
中更改assetsPublicPath
为'./'
,并在index.html
中添加了<base href="/">
。是什么原因导致了这样的路径问题?