1
|
import {NgModule} from "@angular/core";
|
2
|
import {CommonModule} from "@angular/common";
|
3
|
import {MethodologyComponent} from "./methodology.component";
|
4
|
import {RouterModule} from "@angular/router";
|
5
|
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
|
6
|
import {PageContentModule} from "../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
|
7
|
import {HowModule} from "../openaireLibrary/monitor/how/how.module";
|
8
|
import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
|
9
|
|
10
|
@NgModule({
|
11
|
declarations: [MethodologyComponent],
|
12
|
imports: [CommonModule, RouterModule.forChild([
|
13
|
{
|
14
|
path: '',
|
15
|
component: MethodologyComponent,
|
16
|
canDeactivate: [PreviousRouteRecorder]
|
17
|
},
|
18
|
]), PageContentModule, HowModule, LoadingModule],
|
19
|
exports: [MethodologyComponent]
|
20
|
})
|
21
|
export class MethodologyModule {
|
22
|
|
23
|
}
|