User app (web)
apps/web — React + Vite, port 5173. The app every person in the organisation uses.
| Shell | @antfabric/app-shell: navigation as a rail, sidebar or top bar (one entry per plugin, with badges), workspace and content layouts, profile, notifications inbox, device notifications, presence reporter |
| Plugin screens | plugins/<name>/web, mounted under /<name> from src/plugins.generated.ts |
| Session | @antfabric/sdk-web: sign-in (password, SSO, authenticator), token refresh across tabs, sign-out of every tab |
| Live updates | One Socket.IO connection, shared by every plugin screen |
| Push | Web Push when the person enables it in their notification settings |
Commands
Section titled “Commands”pnpm web:dev # on its own; pnpm dev runs it with the APIpnpm nx run web:buildAdding to it
Section titled “Adding to it”You rarely change apps/web itself. A new feature is a plugin; a new shared component is the UI
kit; a new shell capability (a new kind of badge, a layout) is app-shell.