angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Angular routing nested route #445

Open anubhav29-commits opened 4 years ago

anubhav29-commits commented 4 years ago

I am using angular 7 I have app-routing.ts

{ path: 'ikgTool', children: [ { path: '', component: IkgToolComponent, outlet: 'renderView' }, { path: 'ikgTool/firmoGraphics/:id', component: FirmographicsComponent, outlet: 'renderView' }, { path: 'knowledgeFeed/:id', component: KnowledgeFeedComponent }, { path: 'relationships/:id', component: RelationshipsComponent }, { path: 'transactions/:id', component: TransactionsComponent }, { path: 'reportProblem/:id', component: ReportProblemComponent } ] }

I am added Component name like XYZ and Ikg Tool, this tool have the multiple routes inside which needs to be displayed some like "BaseUrl/IkgTool/Firmographics/xyzId".