29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
# dashboard-v2
|
|
|
|
React plus Astryx replacement for the Vue dashboard (`ui/`), growing by
|
|
strangler: new pages land here, served beside the Vue app until v2 covers
|
|
everything. The server owns every contract; this app presents them.
|
|
|
|
First slice: System status (service health plus component versions), a
|
|
read-only mirror of the Vue status page.
|
|
|
|
## Run
|
|
|
|
```bash
|
|
cd dashboard-v2
|
|
pnpm install
|
|
astryx theme add neutral # regenerates src/astryx-themes.ts
|
|
pnpm run dev # http://localhost:5174
|
|
```
|
|
|
|
Open http://localhost:5174 in a browser after starting it. `/api` proxies
|
|
to a locally running archie-ui on 127.0.0.1:8484, same as the Vue dev
|
|
server. Port 5174 keeps v2 beside the Vue app on 5173.
|
|
|
|
`pnpm run build` typechecks and builds to `dist/`, which is not committed:
|
|
serving v2 (embed vs separate deploy) is still an open decision.
|
|
|
|
Dependency versions were chosen offline to match Astryx CLI 0.7.4
|
|
(`@astryxdesign/*` 0.7.4, React 19, Vite 8); if `pnpm install` reports peer
|
|
conflicts, follow its resolution and commit the lockfile.
|