Extend Thin Package Mounts
Generated routes are package mounts, not starter pages to grow into product code.
Add or replace a surface
-
Choose the package that owns the domain.
-
Implement the complete reusable page or handler there.
-
Export it from the package's public entrypoint and record the contract when required.
-
Keep the app route to a direct re-export, for example:
TSXexport { AdminUsersPage as default } from "@brightweblabs/module-admin"; -
Update module and shell settings, then run the template thinness test and app build.
Client-specific identity, enabled modules, shell overrides, theme tokens, environment values, brand assets, and migrations remain in the app. Feature UI, state, data access, and reusable helpers remain package-owned.