# AGENTS.md ## Commands | Script | Command | Purpose | |--------|---------|---------| | `dev` | `vite` | Dev server with HMR, proxies `/api` → `http://localhost:8080` (strips prefix) | | `build` | `vue-tsc -b && vite build` | Type-check (project references mode) then production build | | `preview` | `vite preview` | Preview production build locally | | `api:gen` | `orval` | Generate API client + models from `http://localhost:8080/v3/api-docs` | Build order matters: `npm run build` runs `vue-tsc -b` before `vite build`. After changes, always run `npm run build` (not just `vue-tsc`). ## Architecture - **Vue 3** `