-
Notifications
You must be signed in to change notification settings - Fork 78
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
Document how to use with github pages #360
Comments
Is this more of a Sapper thing? Is there anything special that needs to happen to support github pages beyond using |
I was actually looking forward to deploying my first SPA with Svelte as a GitHub Pages. I'll see if I can nail an easy method, then publish it as a tutorial on dev.to. (i discovered Svelte yesterday and it totally grew into my new girlfriend, thanks to the Team for making this jewel ! ) |
@aubergene Well, here it is! https://dev.to/pixeline/how-to-deploy-a-sapper-pwa-on-github-pages-47lc @Conduitry feel free to close this issue if this is enough. |
Can you also do it without using sapper? |
Great thank you. I didn't know about @SvenjaJeschke for deploying a plain Svelte app, it's even easier, just replace |
I've also created a basic example: https://github.com/josecelano/svelte-deploy-with-github-actions It uses GitHub Actions to deploy automatically to GitHub Pages. |
Github pages (and similar) are very popular so it would be good to create a blog post (and perhaps template) for creating a project that can be pushed to github page and add a link to the docs.
There's examples for Nuxt which are good examples
https://nuxtjs.org/faq/github-pages/
https://hackernoon.com/create-and-publish-a-nuxt-powered-website-on-github-pages-3e922dfa7372
The text was updated successfully, but these errors were encountered: