template
template copied to clipboard
Deployment to Github pages
For info, I had some troubles deploying to Gihub pages, and the issue was solved relatively simply, but after a waste of a lot of time.
I did not realize that the index.html which I had came from this useful template.
In the HTML file, links start with '/', which means they are absolute:
https://github.com/sveltejs/template/blob/47ed448d2a9905dd6876122f85fbcee825fa8628/public/index.html#L9-L13
Making the links relative solved my issue:
https://www.reddit.com/r/webdev/comments/gu07t8/deploying_my_svelte_app_to_github_pages/fsii05k/