Menu
Libraries |
Category

sveltekit-gh-pages

  • Purpose: A minimal static SvelteKit setup optimized for deployment to GitHub Pages.
  • Key Features:
    • Uses the @sveltejs/adapter-static adapter to prerender the app.
    • Configures paths.base for GitHub Pages compatibility.
    • Includes a .nojekyll file to bypass Jekyll processing on GitHub Pages.
    • Provides a deploy script using gh-pages for easy publishing.
  • Target Audience: Developers looking to deploy a SvelteKit static site to GitHub Pages.
  • SvelteKit Support: Explicitly designed for SvelteKit, with configuration tailored for its static adapter.
  • Quick Start: Scaffold a new project using degit .
  • Deployment: Simple two-step process (npm run build followed by npm run deploy).

github-pagesgh-pagessveltesveltekitsvelte-kit

Comments