Skip to content

DaVinciBot/formation

Repository files navigation

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

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-app

Developing

Once 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=PUBKEY
pnpm dev

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

Building

To create a production version of your app:

pnpm build

You can preview the production build with pnpm preview.

To deploy your app, you may need to install an adapter for your target environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors