import { ModuleWithProviders , NgModule } from '@angular/core' ; import { FlexLayoutModule } from '@angular/flex-layout' ; import { RouterModule } from '@angular/router' ; import { DocsExampleModule } from '../../others/docs-example/docs-example.module' ; import { SourceTabsModule } from '../../others/source-tabs/source-tabs.module' ; import { ProjectPanelModule } from '../../panels/project-panel/project-panel.module' ; import { SharedModule } from '../../shared/shared.module' ; import { ProjectPageComponent } from './project-page.component' ; import { ProjectPageRoutes } from './project-page.routes' ; import { MatIconModule } from '@angular/material/icon' ; @ NgModule ( { imports : [ SharedModule . forRoot ( ) , FlexLayoutModule , DocsExampleModule . forRoot ( ) , ProjectPanelModule , RouterModule . forChild ( ProjectPageRoutes ) , SourceTabsModule . forRoot ( ) , MatIconModule , ] , entryComponents : [ ProjectPageComponent ] , exports : [ ProjectPageComponent ] , declarations : [ ProjectPageComponent ] , } ) export class ProjectPageModule { static forRoot ( ) { return { ngModule : ProjectPageModule , providers : [ ] , } ; } }