Skip to content

Configuration - Web

Environment variables and configuration for the SvelteKit app in web/.

Overview

The web (Vite + SvelteKit) is configured from:

Any change to environment values requires restarting your dev server or rebuilding the web app so Vite can pick up the new settings.

Common setup steps

Configure your web env files

Copy web/.env.development.example to web/.env.development.local and fill in values (see the Environment variables guide below).

Set production env values

Maintain web/.env.production.local and set matching production values for your deployment.

Update PWA settings

Edit web/src/web-config.json to customize PWA metadata (name/title/description/theme, and icon references).

Guides

For the full checklist, see the repository README (Frontend Setup).

Related Section(s)