2023-11-02 15:39:57 +01:00
|
|
|
import {NgModule} from "@angular/core";
|
|
|
|
import {CommonModule} from "@angular/common";
|
|
|
|
import {RouterModule} from "@angular/router";
|
|
|
|
import {AdminComponent} from "./admin.component";
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [CommonModule, RouterModule.forChild([
|
|
|
|
{path: '', component: AdminComponent, children: [
|
|
|
|
{path: '', loadChildren: () => import('../openaireLibrary/monitor-admin/manageStakeholders/manageStakeholders.module').then(m => m.ManageStakeholdersModule)},
|
|
|
|
{path: ':alias', children: [
|
|
|
|
{path: '', loadChildren: () => import('../openaireLibrary/monitor-admin/general/general.module').then(m => m.GeneralModule)}
|
2023-11-09 13:34:34 +01:00
|
|
|
]
|
|
|
|
}
|
2023-11-02 15:39:57 +01:00
|
|
|
]}
|
|
|
|
])],
|
|
|
|
declarations: [AdminComponent],
|
|
|
|
exports: [AdminComponent]
|
|
|
|
})
|
|
|
|
export class AdminModule {
|
|
|
|
|
|
|
|
}
|