mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-04 12:50:17 +01:00
feat: add a bunch of new Nebular demos (#1911)
This commit is contained in:
parent
c594a5a4c5
commit
3f1f4c558b
185 changed files with 5176 additions and 422 deletions
|
|
@ -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,
|
||||
}],
|
||||
}],
|
||||
}];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue