Reputation: 3464
Component TwoComponent
is displayed inside a regular router-outlet
and has named router-outlet
inside its template. I'm using the following code to display child routes (in a manner similar how it's used with regular outlets
), but it doesn't work.
{
path: 'two',
component: TwoComponent,
outlet: 'named',
children: [
{
path: 'child',
component: TwoChildComponent
}
]
}
Please, check out this plunkr https://embed.plnkr.co/m1zkHVIfIvDzL6a5PfBB/
Upvotes: 0
Views: 193