I\'m trying to have a route from one module include a component from another module. The scheme I\'m trying to implement is: /group/feature
which should show th
You have defined the route for 'group'
. You haven't defined the route 'group/feature'
.
Update:
Your group route looks like a plain route to /group, but group is actually a child module and you don't load the component, you loadChildren
.
const routes: Routes = [
{path: '', pathMatch: 'full', redirectTo: 'group'},
{path: 'group', loadChildren: 'app/group/group.module#GroupModule},
{path: '**', component: PageNotFoundComponent}
]
;