Everything you need to build a Svelte project, powered by sv.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
pnpm dlx sv create
# create a new project in my-app
pnpm dlx sv create my-appOnce you've created a project and installed dependencies with pnpm install, start a development server:
Create a .env file with Supabase public variables:
PUBLIC_SUPABASE_URL=https://supabase-url.co
PUBLIC_SUPABASE_PUBLISHABLE_KEY=PUBKEYpnpm dev
# or start the server and open the app in a new browser tab
pnpm dev -- --openTo create a production version of your app:
pnpm buildYou can preview the production build with pnpm preview.
To deploy your app, you may need to install an adapter for your target environment.