Skip to content

Commit 472d1d7

Browse files
benmccannRich Harris
and
Rich Harris
authored
Add Vercel to list of adapters (#571)
* Add Vercel to list of adapters * Remove duplicate list of adapters * Add more installation details. People keeping getting broken versions by not installing next * link to config section * whoops Co-authored-by: Rich Harris <[email protected]>
1 parent a80f36b commit 472d1d7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/create-svelte/template/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ npm run dev -- --open
2929

3030
## Building
3131

32-
Svelte apps are built with _adapters_, which optimise your project for deployment to different environments, like [Begin](https://begin.com), [Netlify](https://www.netlify.com), [Vercel](https://vercel.com) and so on. (You can also create your own adapter — instructions TODO.)
32+
Svelte apps are built with _adapters_, which optimise your project for deployment to different environments.
3333

34-
By default, `npm run build` will generate a Node app that you can run with `node build`. To use a different adapter, install it and update your `svelte.config.cjs` accordingly. The following official adapters are available:
34+
By default, `npm run build` will generate a Node app that you can run with `node build`. To use a different adapter, add it to the `devDependencies` in `package.json` making sure to specify the version as `next` and update your `svelte.config.cjs` to [specify your chosen adapter](https://kit.svelte.dev/docs#configuration-adapter). The following official adapters are available:
3535

3636
- [@sveltejs/adapter-node](https://github.com/sveltejs/kit/tree/master/packages/adapter-node)
3737
- [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/master/packages/adapter-static)
3838
- [@sveltejs/adapter-netlify](https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify)
39+
- [@sveltejs/adapter-vercel](https://github.com/sveltejs/kit/tree/master/packages/adapter-vercel)
3940
- ...more soon
41+
42+
[See the adapter documentation for more detail](https://kit.svelte.dev/docs#adapters)

0 commit comments

Comments
 (0)