-
Notifications
You must be signed in to change notification settings - Fork 568
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
Mention alternative of HashRouter
#64
Comments
@deantork-sc, thanks, for me it worked as well! |
Do you have examples of how to achieve this? @deantork-sc @gatinhap |
@lucharo - you can have a look into my repo where I use it - https://github.com/gatinhap/magdak and the specific file - https://github.com/gatinhap/magdak/blob/main/src/main.jsx. |
Thanks for the reply I made it work in the end. I was confused at the fact I couldn't serve my builds folder with |
Agree that this should be mentioned as an alternative. However, I wanted to add that I came here from my |
I was having problems with my SPA in Github Pages, and found a few solutions to the problem. This project fixes the problem in a roundabout way, and a slightly more direct solution is using
HashRouter
instead ofBrowserRouter
. I don't know if this fixes all instances of this problem, but it worked for me.I think the readme should mention this alternative for folks who want a more lightweight solution.
The text was updated successfully, but these errors were encountered: