feat(forms): add the form inputs and the form layouts pages

This commit is contained in:
Alexander Zhukov 2017-05-05 15:49:52 +03:00
parent 8649247f87
commit 3e47df7526
11 changed files with 685 additions and 47 deletions

View file

@ -15,25 +15,23 @@ import { NgxDropdownButtonsComponent } from './buttons/dropdown/dropdown.compone
import { NgxLargeButtonsComponent } from './buttons/large/large.component';
import { NgxGroupButtonsComponent } from './buttons/group/group.component';
const routes: Routes = [
{
path: '',
component: NgxUiFeaturesComponent,
children: [{
path: 'buttons',
component: NgxButtonsComponent,
}, {
path: 'grid',
component: NgxGridComponent,
}, {
path: 'icons',
component: NgxIconsComponent,
}, {
path: 'modals',
component: NgxModalsComponent,
}],
},
];
const routes: Routes = [{
path: '',
component: NgxUiFeaturesComponent,
children: [{
path: 'buttons',
component: NgxButtonsComponent,
}, {
path: 'grid',
component: NgxGridComponent,
}, {
path: 'icons',
component: NgxIconsComponent,
}, {
path: 'modals',
component: NgxModalsComponent,
}],
}];
@NgModule({
imports: [RouterModule.forChild(routes)],