Sveltekit Gh Pages

screenshot of Sveltekit Gh Pages
svelte
vite

Minimal SvelteKit set-up made deployable to GitHub Pages.

Overview:

SvelteKit-gh-pages is a minimal static SvelteKit setup that is designed to be deployable to GitHub Pages. It provides a streamlined process for deploying SvelteKit apps on GitHub Pages without the need for complex configuration.

Features:

  • Static adapter integration: The SvelteKit static adapter is used to prerender the app, allowing for improved performance and faster loading times.
  • Configuration modification: The paths.base configuration in the SvelteKit config file needs to be modified to match the GitHub Pages subpath for the repository.
  • Bypassing Jekyll: A .nojekyll file needs to be added to the static folder to bypass Jekyll on GitHub Pages and ensure that static assets are copied correctly.
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

github-pages
GitHub Pages

Gridsome is a Vue.js-based static site generator that makes it easy to build fast and flexible websites and applications by leveraging modern web technologies like GraphQL, Webpack, and hot reloading