I am not able to go directly to the child route. my url is http://localhost:4201/home/profile but the router tracing starts with url: '/home’ instead of url: ‘/home/profile'
Router Event: NavigationStart platform-browser.es5.js:1028 NavigationStart(id: 1, url: '/home') platform-browser.es5.js:1028 NavigationStart {id: 1, url: "/home”}
const feedsRoutes: Routes = [
{
path: '',
component: HomeComponent,
children: [
{ path: 'home', redirectTo: '', pathMatch: 'full' },
{ path: '', loadChildren: '../feeds-home/feeds-home.module#FeedsHomeModule' },
{ path: 'business', loadChildren: '../business-home/business-home.module#BusinessModule' },
{ path: 'people', loadChildren: '../people-home/people-home.module#PeopleModule' },
{ path: 'profile', loadChildren: '../profile-home/profile-home.module#ProfileModule' },
{ path: 'settings', component: SettingsComponent, data: { title: 'Settings' } }
]
}
];
is this due to loading child routes as modules?