happyDomain/web
2026-03-15 21:35:45 +07:00
..
src web: New helper domainJoin, fix OpenPGPKEY and SMIMECERT records when dn is empty 2026-03-15 21:35:45 +07:00
static Reformat manifest.json, add id and fix spelling 2026-03-01 17:40:20 +07:00
.gitignore web: Migrate frontend to openapi-ts code generation 2026-01-26 12:34:55 +08:00
.npmrc refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
.prettierignore refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
.prettierrc refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
assets-noui.go mailer: Implement asset directory fallback and update build paths 2026-01-02 20:49:46 +07:00
assets.go web: Migrate frontend to openapi-ts code generation 2026-01-26 12:34:55 +08:00
eslint.config.js refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
openapi-ts.config.ts web: Migrate frontend to openapi-ts code generation 2026-01-26 12:34:55 +08:00
package-lock.json web: add DNS syntax highlighting with highlight.js 2026-03-05 16:25:44 +07:00
package.json ci: fix yarn v1 vite hoisting issue for vitest on amd64 2026-03-15 17:40:15 +07:00
README.md refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
routes.go web: Integrate BasePath support into frontend and fix web route serving 2026-03-01 17:41:02 +07:00
svelte.config.js refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
tsconfig.json refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
vite.config.ts refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +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.