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 { ButtonsComponent } from './buttons/buttons.component';
|
|
|
|
|
import { GridComponent } from './grid/grid.component';
|
|
|
|
|
import { IconsComponent } from './icons/icons.component';
|
|
|
|
|
import { ModalsComponent } from './modals/modals.component';
|
2017-05-06 15:41:52 +03:00
|
|
|
import { TypographyComponent } from './typography/typography.component';
|
2017-05-11 15:05:04 +03:00
|
|
|
import { TabsComponent } from './tabs/tabs.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,
|
2017-05-05 15:49:52 +03:00
|
|
|
children: [{
|
|
|
|
|
path: 'buttons',
|
2017-05-06 14:52:41 +03:00
|
|
|
component: ButtonsComponent,
|
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-05 15:49:52 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'modals',
|
2017-05-06 14:52:41 +03:00
|
|
|
component: ModalsComponent,
|
2017-05-06 15:41:52 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'typography',
|
|
|
|
|
component: TypographyComponent,
|
2017-05-11 15:05:04 +03:00
|
|
|
}, {
|
|
|
|
|
path: 'tabs',
|
|
|
|
|
component: TabsComponent,
|
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 { }
|