This directory is a brief example of a Svelte site that can be deployed to Vercel with zero-configuration. If you need to use API Routes, we recommend using our SvelteKit example.
npx degit sveltejs/template my-svelte-project
cd my-svelte-project
npm install
npm run dev
Navigate to localhost:8080. You should see your app running. Edit a component file in src
,
save it, and reload the page to see your changes.