Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RouterModule.forRoot([
- {
- path: 'templates',
- component: TemplateLandingComponent,
- children: [
- {path: 'main-templates', component: MainTemplateComponent}
- ]
- },
- ])
- <li><a [routerLink]="['/templates']" [routerLinkActive]="'active'">Templates</a></li>
- <li><a [routerLink]="['/templates/main-templates']" [routerLinkActive]="'active'">Active Templates</a></li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement