Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- path: 'dashboard',
- component: DashboardComponent,
- children: [
- {
- path: '',
- component: DashboardHomeComponent,
- pathMatch: 'full',
- },
- {
- path: 'em',
- component: EmComponent,
- }
- {
- path: 'ec',
- component: EcComponent,
- }
- ]
- }
- <div class="Sidebar">
- <a routerLinkActive="li-bg" [routerLinkActiveOptions]="{exact: true}" routerLink="/">Dashboard</a>
- <a routerLink="/dashboard/my-profile">My profile</a>
- </div>
- <div class="row">
- <div class="col">
- <a routerLink="/dashboard/em">Em Service</a>
- </div>
- <div class="col">
- <a routerLink="/dashboard/ec">Ec Service</a>
- </div>
- </row>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement