sveltekit-github-pages-example

Sveltekit Github Pages Example

Demo of a static SvelteKit project, using GitHub Actions to deploy to GitHub Pages.

SvelteKit on GitHub Pages Example

Minimal SvelteKit project demonstrating automatic deployment to GitHub Pages using GitHub Actions.

GitHub Pages only allows for static sites, so the site is built with @sveltejs/adapter-static.

Note that the root +layout.ts uses export const prerender = true to let the adapter know that all of the pages are prerenderable.

Top categories

Loading Svelte Themes