AP0
Find a file
2024-10-30 13:33:59 +01:00
.forgejo/workflows feat: add deploy workflow 2024-10-21 17:19:06 +02:00
nix feat(nix): add derivation 2024-10-30 13:33:59 +01:00
patches fix: patch @sveltejs/adapter-cloudflare 2024-10-26 12:08:16 +02:00
src feat: add game system 2024-10-28 12:37:50 +01:00
static feat: initial commit 2024-10-15 14:41:51 +02:00
.envrc feat: initial commit 2024-10-15 14:41:51 +02:00
.gitignore feat(nix): add derivation 2024-10-30 13:33:59 +01: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 fix: patch @sveltejs/adapter-cloudflare 2024-10-26 12:08:16 +02:00
eslint.config.js chore(eslint): ignore wrangler 2024-10-26 17:06:20 +02:00
flake.lock flake.lock: Update 2024-10-25 22:37:49 +02:00
flake.nix feat(nix): add derivation 2024-10-30 13:33:59 +01:00
package.json chore: fmt 2024-10-26 12:49:58 +02:00
README.md feat: initial commit 2024-10-15 14:41:51 +02: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.