SvelteKit
The fastest way to build Svelte apps
README
READ THIS FIRST!
SvelteKit is in its release candidate phase:
- :exclamation: expect bugs!
- :heavy_check_mark: no more planned breaking changes
- :heavy_check_mark: countdown to a stable release
- :x: feature-complete
- :x: tutorials
Watch the announcement and track progress towards 1.0 for more details.
Overview
The Fastest Way to Build Svelte Apps
- 💨 Blazing-Fast Production Sites
- 🛠️ SSR, SPA, SSG, and In-Between
- ⚡️ Instantly Visible Code Changes
- 🔩 Existing Universe of Plugins
- 🔑 Fully Typed APIs
Documentation
Please see the documentation for information about getting started and developing with SvelteKit.
Packages
Package | Changelog |
---|---|
--------------------------------------------------------------------------- | ------------------------------------------------------------- |
[@sveltejs/kit](packages/kit) | [Changelog](packages/kit/CHANGELOG.md) |
[create-svelte](packages/create-svelte) | [Changelog](packages/create-svelte/CHANGELOG.md) |
[@sveltejs/adapter-node](packages/adapter-node) | [Changelog](packages/adapter-node/CHANGELOG.md) |
[@sveltejs/adapter-static](packages/adapter-static) | [Changelog](packages/adapter-static/CHANGELOG.md) |
[@sveltejs/adapter-cloudflare-workers](packages/adapter-cloudflare-workers) | [Changelog](packages/adapter-cloudflare-workers/CHANGELOG.md) |
[@sveltejs/adapter-cloudflare](packages/adapter-cloudflare) | [Changelog](packages/adapter-cloudflare/CHANGELOG.md) |
[@sveltejs/adapter-netlify](packages/adapter-netlify) | [Changelog](packages/adapter-netlify/CHANGELOG.md) |
[@sveltejs/adapter-vercel](packages/adapter-vercel) | [Changelog](packages/adapter-vercel/CHANGELOG.md) |
The SvelteKit community also makes additional SvelteKit adapters available for use.
Migrating from Sapper
Check out the Migration Guide if you are upgrading from Sapper.
Bug reporting
Please make sure the issue you're reporting involves SvelteKit. Many issues related to how a project builds originate from Vite, which is used to build a SvelteKit project. It's important to note that new Vite projects don't use SSR by default, and so if you create a new Vite project from scratch, many issues won't reproduce. You should thus start with a project that utilizes SSR, such asnpm create vite-extra@latest -- --template ssr-svelte.
If an issue originates from Vite, please report it in the Vite issue tracker.
Changing SvelteKit locally
See the Contributing Guide.
Supporting Svelte
Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:
Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.