我按照https://github.com/gitname/react-gh-pages的指示将我的react应用程序部署到github页面。在链接中,我得到了一个空白页面和一个404错误:Failed to load resource: the server responded with a status of 404 () 我的应用程序<
我曾经尝试在github页面上部署我的react应用程序,但是我得到了一个404错误。然而,网站能够访问我的应用程序,因为404页是我的定制页面。我遵循了的部署步骤。github页面是,相应的远程存储库位于。当我运行npm run deploy时,终端上没有错误。
我试图使ritsar.github.io/LapStore成为我的根,即
我试图部署一个没有任何路由功能的react应用程序。只有一个页面应用程序到github页面,一切都成功了。部署时没有收到任何错误,但在部署之后,应用程序为空白,当我检查控制台时,会看到以下错误
GET https://vicktor61.github.io/VickTor61/indecision-sniffle.git/static/css