AP0
Find a file
uku 298592681b
All checks were successful
deploy to cloudflare pages / deploy (push) Successful in 32s
fix: set body margin only on /game
2024-11-19 16:16:23 +01:00
.forgejo/workflows feat: add deploy workflow 2024-10-21 17:19:06 +02:00
patches fix: patch @sveltejs/adapter-cloudflare 2024-10-26 12:08:16 +02:00
src fix: set body margin only on /game 2024-11-19 16:16:23 +01:00
static feat: initial commit 2024-10-15 14:41:51 +02:00
.envrc chore: replace flake with shell.nix 2024-11-19 09:55:37 +01:00
.gitignore feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
.npmrc feat: initial commit 2024-10-15 14:41:51 +02:00
.prettierignore feat: initial commit 2024-10-15 14:41:51 +02:00
.prettierrc chore: make code prettier 2024-10-22 11:34:40 +02:00
bun.lockb chore(deps): update 2024-11-19 09:56:26 +01:00
eslint.config.js chore(eslint): ignore wrangler 2024-10-26 17:06:20 +02:00
package.json chore(deps): update 2024-11-19 09:56:26 +01:00
README.md feat: initial commit 2024-10-15 14:41:51 +02:00
shell.nix chore: replace flake with shell.nix 2024-11-19 09:55:37 +01:00
svelte.config.js chore: make code prettier 2024-10-22 11:34:40 +02:00
tsconfig.json feat: use cloudflare kv 2024-10-26 12:08:14 +02:00
vite.config.ts chore: make code prettier 2024-10-22 11:34:40 +02:00
wrangler.toml feat: use cloudflare kv 2024-10-26 12:08:14 +02:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

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.