mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
feat(forms): add the form inputs and the form layouts pages
This commit is contained in:
parent
8649247f87
commit
3e47df7526
11 changed files with 685 additions and 47 deletions
36
src/app/pages/forms/forms-routing.module.ts
Normal file
36
src/app/pages/forms/forms-routing.module.ts
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { NgxFormsComponent } from './forms.component';
|
||||
import { NgxFormInputsComponent } from './form-inputs/form-inputs.component';
|
||||
import { NgxFormLayoutsComponent } from './form-layouts/form-layouts.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: NgxFormsComponent,
|
||||
children: [{
|
||||
path: 'inputs',
|
||||
component: NgxFormInputsComponent,
|
||||
}, {
|
||||
path: 'layouts',
|
||||
component: NgxFormLayoutsComponent,
|
||||
}],
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild(routes),
|
||||
],
|
||||
exports: [
|
||||
RouterModule,
|
||||
],
|
||||
})
|
||||
export class NgxFormsRoutingModule {
|
||||
|
||||
}
|
||||
|
||||
export const routedComponents = [
|
||||
NgxFormsComponent,
|
||||
NgxFormInputsComponent,
|
||||
NgxFormLayoutsComponent,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue