Angular 6 - Children paths of lazy loaded module are not loading
问题 I am trying to work with routing in lazy loaded modules, but it is not working. This is my app module routing. export const routes: Routes = [ { path: '', component: DefaultLayoutComponent, data: { title: 'Home' }, children: [ { path: 'holiday', loadChildren: './holiday/holiday.module#HolidayModule' } ] }, { path:"**", component:P404Component } ]; This is RoutingModule for lazy-loaded module. const routes: Routes = [ { path: '', children: [ { path: '', component: HolidayBookingComponent }, {