angular2 routing - Angular 2 outlets side by side -
how render components side side using route-outlets? understand using auxiliary outlets not solve problem views/routes connected , should opened in specific order.
primarytemplate:
<h1>primaryview</h1> <div class="col-lg-6"> <!-- using bootstrap --> <first-level-child [firstid]="firstidfromrouterparam"></first-level-child> </div> <div class="col-lg-6"> <router-outlet></router-outlet> </div>
primarycomponent:
@routeconfig([ { path: 'first/:firstid/second/:secondid', name: 'secondlevelchild', component: secondlevelchildcomp} ])
you can find discussions on topic @ bottom of issue: https://github.com/angular/angular/issues/6204
Comments
Post a Comment