AP0
Find a file
uku 6f6cd270eb
All checks were successful
deploy to cloudflare pages / deploy (push) Successful in 48s
feat: add deploy workflow
2024-10-21 17:19:06 +02:00
.forgejo/workflows feat: add deploy workflow 2024-10-21 17:19:06 +02:00
src feat: add some query params to change behavior 2024-10-21 15:36:54 +02: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: 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 feat: initial commit 2024-10-15 14:41:51 +02:00
bun.lockb feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
eslint.config.js feat: initial commit 2024-10-15 14:41:51 +02:00
flake.lock feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
flake.nix feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
package.json feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
README.md feat: initial commit 2024-10-15 14:41:51 +02:00
svelte.config.js feat: add cloudflare pages compat 2024-10-21 17:10:49 +02:00
tsconfig.json feat: initial commit 2024-10-15 14:41:51 +02:00
vite.config.ts feat: initial commit 2024-10-15 14:41:51 +02:00
wrangler.toml feat: add cloudflare pages compat 2024-10-21 17:10:49 +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.