Project

General

Profile

1
import {NgModule} from '@angular/core';
2
import {RouterModule} from "@angular/router";
3
import {CommonModule} from "@angular/common";
4
import {CommunityInfoComponent} from "./community-info.component";
5
import {PageContentModule} from "../../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
6

    
7
@NgModule({
8
  imports: [
9
    CommonModule,
10
    RouterModule.forChild([
11
      {
12
        path: '', component: CommunityInfoComponent, children: [
13
          {path: '', loadChildren: './profile/profile.module#ProfileModule', pathMatch: 'full'}
14
        ]
15
      }
16
    ]),
17
    PageContentModule,
18
  ],
19
  declarations: [CommunityInfoComponent],
20
  exports: [CommunityInfoComponent]
21
})
22
export class CommunityInfoModule {
23
}
(2-2/2)