mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-11 02:44:20 +01:00
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
|
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
|
|
||
|
|
import { Forms } from './forms.component';
|
||
|
|
import { Inputs } from './components/inputs/inputs.component';
|
||
|
|
import { Layouts } from './components/layouts/layouts.component';
|
||
|
|
|
||
|
|
// noinspection TypeScriptValidateTypes
|
||
|
|
const routes: Routes = [
|
||
|
|
{
|
||
|
|
path: '',
|
||
|
|
component: Forms,
|
||
|
|
children: [
|
||
|
|
{ path: 'inputs', component: Inputs },
|
||
|
|
{ path: 'layouts', component: Layouts }
|
||
|
|
]
|
||
|
|
}
|
||
|
|
];
|
||
|
|
|
||
|
|
export const routing = RouterModule.forChild(routes);
|