sveltekit-adapter
SvelteKit adapters allow you to deploy your site to numerous platforms. This add-on allows you to configure officially provided SvelteKit adapters, but a number of community-provided adapters are also available.
Usage
npx sv add sveltekit-adapter
What you get
- the chosen SvelteKit adapter installed and configured in your
svelte.config.js
Options
adapter
Which SvelteKit adapter to use:
auto
—@sveltejs/adapter-auto
automatically chooses the proper adapter to use, but is less configurablenode
—@sveltejs/adapter-node
generates a standalone Node serverstatic
—@sveltejs/adapter-static
allows you to use SvelteKit as a static site generator (SSG)vercel
—@sveltejs/adapter-vercel
allows you to deploy to Vercelcloudflare
—@sveltejs/adapter-cloudflare
allows you to deploy to Cloudflarenetlify
—@sveltejs/adapter-netlify
allows you to deploy to Netlify
npx sv add --sveltekit-adapter=node
Edit this page on GitHub llms.txt
previous next