Dashboard UI (#46)

* dashboard UI
This commit is contained in:
Anwesh Nayak
2018-06-10 16:49:29 +05:30
committed by GitHub
parent f733172fcd
commit 6be70d6cb4
13 changed files with 418 additions and 17 deletions
+3 -1
View File
@@ -3,11 +3,13 @@ import { Routes, RouterModule } from '@angular/router';
import { Route, extract } from '@app/core';
import { HomeComponent } from './home.component';
import { DashboardComponent } from './dashboard/dashboard.component';
const routes: Routes = [
Route.withShell([
{ path: '', redirectTo: '/home', pathMatch: 'full' },
{ path: 'home', component: HomeComponent, data: { title: extract('Home') } }
{ path: 'home', component: HomeComponent, data: { title: extract('Home') } },
{ path: 'home/dashboard', component: DashboardComponent}
])
];