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-app
To recreate this project with the same configuration:
# recreate this project
bun x sv@0.15.3 create --template minimal --types ts --add prettier eslint vitest="usages:unit,component" sveltekit-adapter="adapter:static" --install bun .
Once you’ve created a project and installed dependencies with bun install (or pnpm install or yarn), start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --open
To create a production version of your app:
bun run build
You can preview the production build with bun run preview.
This project is configured for GitHub Pages with @sveltejs/adapter-static and the workflow in .github/workflows/static.yml.
The site is intended to be served from the custom domain snarkindustries.net, so the repository does not need a custom Vite base path.
The GitHub Pages custom-domain configuration is committed in static/CNAME, and static hosting compatibility is handled by prerendering every route and emitting directory-style paths for deep links.