Angular 2 how does auxiliary routes work in 2.1.0?
问题 I have this route: { path: 'dashboard', loadChildren: '../pages/dashboard/dashboard.module#DashboardModule' } With the dashboard 's router looking like this: @NgModule({ imports: [ ComponentsModule, SharedModule, RouterModule.forChild([ { path: '', component: DashboardComponent } ]) ], declarations: [ DashboardComponent ] }) export class DashboardRouterModule {} And in my parent view (which is /admin , dashboard route is /admin/dashboard ), I have a <router-outlet name="admin"></router-outlet