mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 01:10:13 +01:00
feat(app): add mock pages and some header feats
This commit is contained in:
parent
2cb6bf99e0
commit
58c9114ff9
20 changed files with 201 additions and 84 deletions
|
|
@ -3,14 +3,20 @@ import { NgModule } from '@angular/core';
|
|||
|
||||
import { PagesComponent } from './pages.component';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { UiFeaturesComponent } from './ui-features/ui-features.component';
|
||||
import { ComponentsComponent } from './components/components.component';
|
||||
import { MapsComponent } from './maps/maps.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: PagesComponent,
|
||||
children: [
|
||||
{path: '', redirectTo: 'dashboard', pathMatch: 'full'},
|
||||
{path: 'dashboard', component: DashboardComponent}
|
||||
{path: 'dashboard', component: DashboardComponent},
|
||||
{path: 'ui-features', component: UiFeaturesComponent},
|
||||
{path: 'components', component: ComponentsComponent},
|
||||
{path: 'maps', component: MapsComponent},
|
||||
{path: '', redirectTo: 'dashboard', pathMatch: 'full'}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue