Multiple pages not working react #35639
-
|
I have multiple pages for my gh-pages site, but only one works on load. my site: https://nickolasz523.github.io/ my repo: https://github.com/nickolasz523/nickolasz523.github.io edit: it does work with netlify tho... https://stoic-yonath-6fbdb6.netlify.app/home |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
seems to be working fine here there are no error logs |
Beta Was this translation helpful? Give feedback.
-
|
Hi @nickolasz523 If deploying to GitHub, ensure there is a "homepage" entry for where you are hosting it in Github. Example: Switch to the HashRouter since GitHub pages doesn't support the tech used by the BrowserRouter.
For more details see the Medium article about this topic: If this was helpful mark my comment as Resolved. |
Beta Was this translation helpful? Give feedback.

Hi @nickolasz523
If deploying to GitHub, ensure there is a "homepage" entry for where you are hosting it in Github.
Example:
"homepage": "https://nickolasz523.github.io/home",Switch to the HashRouter since GitHub pages doesn't support the tech used by the BrowserRouter.
index.jsFor more details see the
create-react-appdocs for https://create-react-app.de…