hub-nitro-minimal
The minimal Nitro host for @devframes/hub: one initHub() call behind a catch-all route, the UI supplied by @devframes/hub-ui.
Package: hub-nitro-minimal · framework: Nitro
What it shows
initHub({ base, devframes: [inspect, messages], ui: createUi() })inhub.ts, delegated to by a catch-all route (routes/__devframes/[...path].ts, plus itsindex.tssibling for the namespace root) viahub.handler(event.req).nitro.config.tskeeps the devframe packages external so their prebuilt client assets resolve from the packages themselves rather than Nitro's build output.- The RPC WebSocket runs on an eager side-car port, advertised through
<base>__connection.json.
Run it
sh
pnpm install
pnpm --filter hub-nitro-minimal devOpen the printed URL for the host page with the floating dock, or /__devframes/ for the standalone viewer.