Routing configuration.
Use this skill for Angular web routing in apps/frontend. It replaces the old separate lazy-routing skill; all route targets should be lazy-loaded unless there is a verified reason not to.
apps/frontend/src/app/app.routes.ts exports an empty route array.apps/frontend/src/app/routes/public.apps/frontend/src/app/routes/private.*.routes.ts files under private/modules/**.Key route files:
routes/private/super_admin.routes.tsroutes/private/org_admin.routes.tsroutes/private/store_admin.routes.tsroutes/private/ecommerce.routes.tsroutes/public/store_ecommerce.public.routes.tsroutes/public/vendix_landing.public.routes.tsroutes/public/org_landing.public.routes.tsroutes/public/store_landing.public.routes.tsloadComponent for standalone components.loadChildren for route groups exported from *.routes.ts.AuthGuard; backend still owns real authorization.data for presentation metadata or default filters, not security decisions.{
path: 'products',
loadComponent: () =>
import('../../private/modules/store/products/products.component').then(
(c) => c.ProductsComponent,
),
}
{
path: 'accounting',
loadChildren: () =>
import('../../private/modules/store/accounting/accounting.routes').then(
(m) => m.accountingRoutes,
),
}
loadComponent or loadChildren route.vendix-panel-ui if this is an admin module.vendix-app-architecture - AppType/domain routing conceptsvendix-panel-ui - Sidebar visibility for private modulesvendix-zoneless-signals - Component runtime rulesvendix-frontend-module - Module file structure