No description
  • Svelte 86.8%
  • TypeScript 8.2%
  • JavaScript 3.2%
  • HTML 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-18 17:54:51 +08:00
.vscode Add danmaku support to video player and update dependencies 2026-03-18 17:54:51 +08:00
src Add danmaku support to video player and update dependencies 2026-03-18 17:54:51 +08:00
static Add danmaku support to video player and update dependencies 2026-03-18 17:54:51 +08:00
.gitignore Init svelte project 2026-03-17 23:21:28 +08:00
.npmrc Init svelte project 2026-03-17 23:21:28 +08:00
bun.lock Add danmaku support to video player and update dependencies 2026-03-18 17:54:51 +08:00
LICENSE Initial commit 2026-03-17 12:45:02 +00:00
package.json Add danmaku support to video player and update dependencies 2026-03-18 17:54:51 +08:00
README.md Init svelte project 2026-03-17 23:21:28 +08:00
svelte.config.js Add static adapter support and audio track plugin; update build scripts 2026-03-18 10:52:30 +08:00
tsconfig.json Init svelte project 2026-03-17 23:21:28 +08:00
vite.config.ts Init svelte project 2026-03-17 23:21:28 +08:00

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
npx sv create my-app

To recreate this project with the same configuration:

# recreate this project
bun x [email protected] create --template minimal --types ts --install bun ./

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

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

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

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