Files
vercel/examples/sveltekit/README.md
Lee Robinson f7c57dc539 [examples] Update SvelteKit example for breaking changes. (#8439)
There were recently a few breaking changes introduced into SvelteKit. This PR clones that latest changes from a demo SvelteKit application, while retaining support for Vercel Analytics.

Deployed latest to https://sveltekit-template.vercel.app/ and confirmed analytics are sending.
2022-08-24 15:15:50 +00:00

1.0 KiB

SvelteKit

Everything you need to build a Svelte project, powered by create-svelte, deployed to Vercel.

Deploy Your Own

Deploy with Vercel

Live Example: https://sveltekit-template.vercel.app

Developing

Once you've installed dependencies with pnpm install, start a development server:

pnpm run dev

# or start the server and open the app in a new browser tab
pnpm run dev -- --open

Building

To create a production version of your app:

pnpm run build

You can preview the production build with npm run preview.