take 2 on re-implementing chess from scratch
  • TypeScript 60.4%
  • Svelte 31.7%
  • HTML 4.1%
  • CSS 3.8%
Find a file
2026-07-25 17:10:41 +07:00
.vscode init 2026-07-25 07:08:56 +07:00
src board updating subscriber and listener 2026-07-25 17:10:41 +07:00
static piece display change and move constant to types.ts 2026-07-25 16:55:43 +07:00
.gitignore init 2026-07-25 07:08:56 +07:00
.npmrc init 2026-07-25 07:08:56 +07:00
bun.lock init 2026-07-25 07:08:56 +07:00
LICENSE Initial commit 2026-07-25 07:06:49 +07:00
package.json init 2026-07-25 07:08:56 +07:00
README.md init 2026-07-25 07:08:56 +07:00
tsconfig.json init 2026-07-25 07:08:56 +07:00
vite.config.ts init 2026-07-25 07:08:56 +07: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 sv@0.16.5 create --template minimal --types ts --add tailwindcss="plugins:none" --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.