Closed mackelito closed 7 years ago
Will add when I'm back from ng-conf.
Tack /Micke
... ng-conf... you bastard! ;)
Hahaha. Sorry, didn't mean to make you jealous, just wanted let you know that I'm not ignoring your suggestion.
Fixed in 4.0.8: ng-router-appmodule ng-router-featuremodule
When creating a new "modulename-routing-module.ts" file it would be great to have 2 templates.
@NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] }) export class AppRoutingModule { }
@NgModule({ imports: [RouterModule.forChild([ { path: 'my-account', component: UserComponent, children: [ { path: '', component: DashBoardComponent }, ] }, ])], exports: [RouterModule] })