Nested Router Outlet With Name Not Working
问题 I'm struggling with nested router-outlets. My situations looks like this: I have a <router-outlet> in my app.components.html Then I lazy load my desktop.module.ts module via the url: /d . It looks like this: const routes: Routes = [ { path: 'workout', component: WorkoutComponent, outlet: 'desktop'}, { path: '', component: DesktopComponent, pathMatch: 'full' } ]; @NgModule({ imports: [ CommonModule, IonicModule, RouterModule.forChild(routes) ], declarations: [WorkoutComponent, DesktopComponent