-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site URL leads to an Error 404 page #137
Comments
Hello @mayank-mongia, I noticed a few things I was surprised by:
Finally, I am "out of the office" right now (feeling ill 🤧), so may not respond promptly to future messages here, but I am interested in how things go for you. |
Hi @mayank-mongia , I had a similar issue. Try adding HashRouter to your index.js. + import { HashRouter } from "react-router-dom";
root.render(
<React.StrictMode>
+ <HashRouter>
<App />
+ </HashRouter>
</React.StrictMode>
);
After this try deploying your application again. |
Thanks, @ManasiTilak. Closing because the original poster hasn't replied within 30 days. |
I created a react web app and deployed it using gh-pages.
When I am opening the published page, I am seeing a blank page.
Repository Link - https://github.com/mayank-mongia/notes-app
Published Link - https://mayank-mongia.github.io/notes-app/
The text was updated successfully, but these errors were encountered: