2017-04-29 18:53:19 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
2017-05-06 14:52:41 +03:00
|
|
|
import { UiFeaturesComponent } from './ui-features.component';
|
|
|
|
|
import { GridComponent } from './grid/grid.component';
|
|
|
|
|
import { IconsComponent } from './icons/icons.component';
|
2017-05-06 15:41:52 +03:00
|
|
|
import { TypographyComponent } from './typography/typography.component';
|
2017-05-19 19:45:42 +03:00
|
|
|
import { SearchComponent } from './search-fields/search-fields.component';
|
2017-04-29 18:53:19 +03:00
|
|
|
|
2017-05-05 15:49:52 +03:00
|
|
|
const routes: Routes = [{
|
|
|
|
|
path: '',
|
2017-05-06 14:52:41 +03:00
|
|
|
component: UiFeaturesComponent,
|
2018-11-19 16:57:35 +02:00
|
|
|
children: [ {
|
2017-05-05 15:49:52 +03:00
|
|
|
path: 'grid',
|
2017-05-06 14:52:41 +03:00
|
|
|
component: GridComponent,
|
2017-05-05 15:49:52 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'icons',
|
2017-05-06 14:52:41 +03:00
|
|
|
component: IconsComponent,
|
2017-05-06 15:41:52 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'typography',
|
|
|
|
|
component: TypographyComponent,
|
2017-05-19 19:45:42 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'search-fields',
|
|
|
|
|
component: SearchComponent,
|
2017-05-05 15:49:52 +03:00
|
|
|
}],
|
|
|
|
|
}];
|
2017-04-29 18:53:19 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
|
exports: [RouterModule],
|
|
|
|
|
})
|
2017-05-06 14:52:41 +03:00
|
|
|
export class UiFeaturesRoutingModule { }
|