gpt4 book ai didi

javascript - 构建后,我们得到 argon-dashboard-react/static/js/main.e8eb0f76.chunk.js net::ERR_ABORTED 404 (Not Found)

转载 作者:行者123 更新时间:2023-12-02 22:20:04 24 4
gpt4 key购买 nike

我正在使用argon-dashboard-react来自 Creative-tim 的应用程序的免费模板 URL:https://demos.creative-tim.com/argon-dashboard-react/#/admin/index ,一切工作正常,但是当我构建时,所有 URL 都与/argon-dashboard-react 一起出现,预期的 URL 结构/static/js/main.e8eb0f76.chunk.js,输出:/argon-dashboard-react/static/js/main.e8eb0f76.chunk.js

请参阅我的屏幕截图以获取更多说明本地路径 Local Path生产路径 ProductionPath

最佳答案

要解决此问题,请从 package.json 文件中删除 homepage 属性,然后再次运行构建命令(另外,在此之前删除旧的构建)。

对我来说效果很好

关于javascript - 构建后,我们得到 argon-dashboard-react/static/js/main.e8eb0f76.chunk.js net::ERR_ABORTED 404 (Not Found),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59255592/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com