feat: add a bunch of new Nebular demos (#1911)

This commit is contained in:
Denis Strigo 2018-11-19 16:57:35 +02:00 committed by GitHub
parent c594a5a4c5
commit 3f1f4c558b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
185 changed files with 5176 additions and 422 deletions

View file

@ -2,53 +2,26 @@ import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
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';
import { TypographyComponent } from './typography/typography.component';
import { TabsComponent, Tab1Component, Tab2Component } from './tabs/tabs.component';
import { SearchComponent } from './search-fields/search-fields.component';
import { PopoversComponent } from './popovers/popovers.component';
const routes: Routes = [{
path: '',
component: UiFeaturesComponent,
children: [{
path: 'buttons',
component: ButtonsComponent,
}, {
children: [ {
path: 'grid',
component: GridComponent,
}, {
path: 'icons',
component: IconsComponent,
}, {
path: 'modals',
component: ModalsComponent,
}, {
path: 'popovers',
component: PopoversComponent,
}, {
path: 'typography',
component: TypographyComponent,
}, {
path: 'search-fields',
component: SearchComponent,
}, {
path: 'tabs',
component: TabsComponent,
children: [{
path: '',
redirectTo: 'tab1',
pathMatch: 'full',
}, {
path: 'tab1',
component: Tab1Component,
}, {
path: 'tab2',
component: Tab2Component,
}],
}],
}];