Skip to content
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

Spa for GitHub pages #21

Merged
merged 1 commit into from
Mar 27, 2022
Merged

Spa for GitHub pages #21

merged 1 commit into from
Mar 27, 2022

Conversation

BlueCutOfficial
Copy link
Owner

@BlueCutOfficial BlueCutOfficial commented Mar 27, 2022

Features

The app doesn't return a 404 when visiting a sub-route

Github pages is made to display static web sites. Once you visit marine.dunstetter.fr, you can access all the web site by clicking in the menus. But if you visit marine.dunstetter.fr/games, it will return a 404.
The project rafgraph/spa-github-pages has been used to make the SPA work as expected with Github pages:

  • The custom 404.hmtl page was added to public assets
  • The redirection script was copied in index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant