Javascript 使用gh页面将react应用程序发布到github时出现问题
根据创建react应用程序的指南,我已使用gh页面将react应用程序发布到github。 以下是指向我的回购协议的链接:。我的应用程序没有路由,所以我不知道问题出在哪里 当我访问我发布的网站时,我只能看到一个白色页面,以及控制台中显示的一些错误:Javascript 使用gh页面将react应用程序发布到github时出现问题,javascript,reactjs,github,deployment,github-pages,Javascript,Reactjs,Github,Deployment,Github Pages,根据创建react应用程序的指南,我已使用gh页面将react应用程序发布到github。 以下是指向我的回购协议的链接:。我的应用程序没有路由,所以我不知道问题出在哪里 当我访问我发布的网站时,我只能看到一个白色页面,以及控制台中显示的一些错误: Failed to load resource: the server responded with a status of 404 () 2.fd66cf29.chunk.js:1 Failed to load resource: the serv
Failed to load resource: the server responded with a status of 404 ()
2.fd66cf29.chunk.js:1 Failed to load resource: the server responded with a status of 404 ()
main.23425634.chunk.js:1 Failed to load resource: the server responded with a status of 404 ()
manifest.json:1 Failed to load resource: the server responded with a status of 404 ()
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
main.df77a612.chunk.css:1 Failed to load resource: the server responded with a status of 404 ()
这听起来可能有点俗气,但正是你的回购名称案例导致了这个问题。如果你打开下面的两个链接,你会看到区别
因此,您可以将主页更改为嗨,我知道这不是您要求的,但我可以让您对谷歌firebase感兴趣吗。(显然我不在那里工作)。它的使用更加流畅,并且比普通主机有更多的特性。