// En un archivo `lazy.routing.ts` separado: @NgModule({ imports: [ LazyPageModule, RouterModule.forChild([ {path: '', pathMatch: 'full', component: LazyPageComponent}, ]), ], }) export class LazyPageRoutingModule {} // Luego, en la configuraciĆ³n de enrutamiento de la aplicaciĆ³n principal export const ROUTES: Route[] = [ /* ...otras rutas */ { path: 'lazy', loadChildren: () => import('./lazy.routing').then(mod => mod.LazyPageRoutingModule), }, ];