mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
While we already have support for [SvelteKit](https://sveltekit-delta.vercel.app) on Vercel with the [File System API](https://vercel.com/docs/more/adding-your-framework), this makes the Svelte logo show up and adds an example. I also updated the Svelte example to match their default template and guide the user to use SvelteKit if they want functions. https://sveltekit.examples.vercel.com
SvelteKit
Example project using SvelteKit with the SpaceX GraphQL API, deployed to Vercel.
Deploy Your Own
Live Example: https://sveltekit.examples.vercel.com
Developing
Once you've created a project and installed dependencies with npm install, start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
This uses the Vercel Adapter for SvelteKit.
npm run build