mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 12:57:46 +00:00
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.
1.0 KiB
1.0 KiB
SvelteKit
Everything you need to build a Svelte project, powered by create-svelte, deployed to Vercel.
Deploy Your Own
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.