React + Vite App
This app is built with Vite and React. Dependencies are managed with pnpm.
Scripts
Run these from this directory:
| Command | Description |
|---|---|
pnpm install | Install dependencies from pnpm-lock.yaml |
pnpm dev | Start the dev server on http://localhost:3000 |
pnpm build | Build for production into build/ |
pnpm preview | Serve the production build locally |
pnpm test | Run the unit tests with Vitest |
Notes
- Vite reads
index.htmlfrom the project root, not frompublic/. - Only variables prefixed with
VITE_are exposed to the client. pnpm install --frozen-lockfileis what CI runs, so commit lockfile changes.