History routing not compatible with static hosting like GitHub Pages (404 on refresh) #143
Closed
6 tasks done
Labels
bug
Something isn't working
Describe the bug
Hey guys, thanks so much for the amazing package and your hard work in making this possible. We've been trying it out and we have run into an issue.
We pass
HISTOIRE_BASE
in our Github action workflow.However, the issue comes when you open up the page in Github pages and then navigate to a specific component story. It works all fine but as soon as you refresh the page you get a 404 page.
Any thoughts on how to go about this?
Reproduction
Repo:
https://github.com/lukasjuhas/histoire-ghpages-repro/
Github pages branch:
https://github.com/lukasjuhas/histoire-ghpages-repro/tree/gh-pages
The url:
https://lukasjuhas.github.io/histoire-ghpages-repro/
To see the error:
System Info
All in the repo. Fresh vue 3 setup + hitoire.
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: