Based on Sveltekit - create-svelte
, deployed to Vercel.
Live Example: https://sveltekit-template.vercel.app
First install pnpm: https://pnpm.io/installation
Once you've installed dependencies with pnpm install
, start a development server:
pnpm install
npx prisma generate
if this is the first time using the database do
npx prisma db push
# pnpm run dev --open
To create a production version of your app:
pnpm run build
pnpm run preview --open