Svelte Example

This directory is a brief example of a Svelte site that can be deployed with Vercel and zero-configuration. If you need to use API Routes, we recommend using our SvelteKit example.

Deploy Your Own

Deploy with Vercel

Live Example: https://svelte.examples.vercel.com

Getting Started

npx degit sveltejs/template svelte-app
npm install

Then, start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.