Slide 17
Slide 17 text
Lazy Loading Multiple Routes
export const ROUTES: Route[] = [
{path: 'admin', loadChildren: () => import('./admin/routes')},
// …
];
export default [
{path: 'home', component: AdminHomeComponent},
{path: 'users', component: AdminUsersComponent},
// …
] as Route[];
https://angular.io/guide/standalone-components#lazy-loading-many-routes-at-once
Hallo Standalone Components, tschüss NgModules!
So bauen Sie Angular-Apps der Zukunft
Standalone Components