I ran into the same problem as you, and I found a solution. Hope this helps others. You can just do something like this
const routes: Routes = [ { path: '', component: DashboardComponent, children: [ { path: 'events', loadChildren: './event/event.module#EventModule' }, { path: 'participants', loadChildren: './participant/participant.module#ParticipantModule' } ] } ];
And, of course, in your parent component (here DashbordComponent) you will need to put a router-outlet .
source share