mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
57 lines
2 KiB
TypeScript
57 lines
2 KiB
TypeScript
|
|
import {RouterModule, Routes} from '@angular/router';
|
||
|
|
import {NgModule} from '@angular/core';
|
||
|
|
import {BackendIntegrationComponent} from './backend-integration.component';
|
||
|
|
import {PhpIntegrationDescriptionComponent} from './descriptions/php-integration-description.component';
|
||
|
|
import {DotNetIntegrationDescriptionComponent} from './descriptions/dot-net-integration-description.component';
|
||
|
|
import {DotNetCoreIntegrationDescriptionComponent} from './descriptions/dot-net-core-integration-description.component';
|
||
|
|
import {NodeJsIntegrationDescriptionComponent} from './descriptions/node-js-integration-description.component';
|
||
|
|
import {JavaIntegrationDescriptionComponent} from './descriptions/java-integration-description.component';
|
||
|
|
import {PythonIntegrationDescriptionComponent} from './descriptions/python-integration-description.component';
|
||
|
|
import {EcommerceIntegrationDescriptionComponent} from './descriptions/ecommerce-integration-description.component';
|
||
|
|
import {IotIntegrationDescriptionComponent} from './descriptions/iot-integration-description.component';
|
||
|
|
|
||
|
|
const routes: Routes = [{
|
||
|
|
path: '',
|
||
|
|
component: BackendIntegrationComponent,
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: 'php',
|
||
|
|
component: PhpIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'dot-net',
|
||
|
|
component: DotNetIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'dot-net-core',
|
||
|
|
component: DotNetCoreIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'node-js',
|
||
|
|
component: NodeJsIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'java',
|
||
|
|
component: JavaIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'python',
|
||
|
|
component: PythonIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'ecommerce',
|
||
|
|
component: EcommerceIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'iot',
|
||
|
|
component: IotIntegrationDescriptionComponent,
|
||
|
|
},
|
||
|
|
],
|
||
|
|
}];
|
||
|
|
|
||
|
|
@NgModule({
|
||
|
|
imports: [RouterModule.forChild(routes)],
|
||
|
|
exports: [RouterModule],
|
||
|
|
})
|
||
|
|
export class BackendIntegrationRoutingModule { }
|