happyDomain/web
Pierre-Olivier Mercier 8c9a38166b web: pause toast timers when page is not visible
Use the Page Visibility API to pause toast countdowns and progress bar
animations when the tab is hidden, and resume them when the user returns.
New toasts created while the page is hidden also start in a paused state.
2026-03-28 21:42:17 +07:00
..
src web: pause toast timers when page is not visible 2026-03-28 21:42:17 +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: replace @paralleldrive/cuid2 with crypto.randomUUID() 2026-03-26 08:02:15 +07:00
package.json web: replace @paralleldrive/cuid2 with crypto.randomUUID() 2026-03-26 08:02:15 +07:00
README.md refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
routes.go Fix service worker registration 2026-03-17 11:20:48 +07:00
svelte.config.js Include generated services_specs into frontend code 2026-03-17 20:14:57 +07: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.