Progressive Web App for xNet -- a lighter version of the Electron app that runs in any browser.
pnpm dev # Start dev serverFrom the repo root you can also run the shared Storybook runtime directly:
pnpm dev:storiespnpm build # Build for production
pnpm preview # Preview production build- Offline-first with Service Worker (Workbox)
- SQLite (OPFS) for local storage
- Rich text editor
- Pages-focused (subset of Electron features)
- Dark mode support
- Installable as PWA
- Dev-only embedded Storybook route at
/stories
- Vite -- Build tool
- React 18 -- UI framework
- TanStack Router -- Type-safe routing
- Tailwind CSS -- Styling
- Workbox -- Service worker / PWA
@xnetjs/data,@xnetjs/editor,@xnetjs/react,@xnetjs/sdk,@xnetjs/storage,@xnetjs/ui
The web app exposes the root Storybook UI at /stories during development.
- The route embeds the manager UI in an
iframe. - It reads
VITE_STORYBOOK_URLwhen provided, otherwise defaults tohttp://127.0.0.1:6006. - If Storybook is not running, the route renders an instructional empty state instead of failing.