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
npx sv create my-appTo recreate this project with the same configuration:
# recreate this project
pnpm dlx sv@0.17.1 create --template minimal --types ts --add prettier eslint vitest="usages:component,unit" playwright sveltekit-adapter="adapter:cloudflare+cfTarget:workers" drizzle="database:d1" tailwindcss="plugins:typography" --install pnpm blogOnce you've created the project and 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 -- --openTo create a production version of your app:
pnpm run buildYou can preview the production build with pnpm run preview.
Install the Chromium browser required by Vitest and Playwright once:
pnpm run playwright:installRun the unit and end-to-end test suites with:
pnpm testTo deploy your app, you may need to install an adapter for your target environment.