Vite + TypeScript SPA skeleton, embedded in the binary #6

Closed
opened 2026-08-22 18:22:38 +01:00 by naps62-yolo · 0 comments
Owner

Following ~/tea/maestro: a standalone web/ built with Vite and pnpm, then
embedded into the binary with include_dir and served with correct MIME types.

  • Biome configured for lint and format, wired into just ci.
  • tsc -b --noEmit in the gate.
  • Dev mode proxies /api/* to the running daemon so the SPA has hot reload.
  • One page that calls GET /api/health and renders it, to prove the whole path.

Use the impeccable skill for this — see the design section of CLAUDE.md.

Acceptance: cargo run serves the built SPA from a single binary with no
external files.


Depends on: #1, #5

Labels: phase/1-skeleton, area/web, difficulty/moderate, type/feature

Following `~/tea/maestro`: a standalone `web/` built with Vite and pnpm, then embedded into the binary with `include_dir` and served with correct MIME types. - Biome configured for lint and format, wired into `just ci`. - `tsc -b --noEmit` in the gate. - Dev mode proxies `/api/*` to the running daemon so the SPA has hot reload. - One page that calls `GET /api/health` and renders it, to prove the whole path. Use the `impeccable` skill for this — see the design section of `CLAUDE.md`. Acceptance: `cargo run` serves the built SPA from a single binary with no external files. --- **Depends on:** #1, #5 Labels: `phase/1-skeleton`, `area/web`, `difficulty/moderate`, `type/feature`
naps62-yolo added the area/webdifficulty/moderatephase/1-skeletontype/feature labels 2026-08-22 18:22:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#6