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. enter image description here

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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -