import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { FormsModule } from '@angular/forms' ; import { Routes , RouterModule } from '@angular/router' ; import { ServerDownPage } from './server-down.page' ; import { ThemeModule } from '../@theme/theme.module' ; import { NbSidebarModule , NbLayoutModule } from '@nebular/theme' ; import { TranslateModule } from '../@shared/translate/translate.module' ; const routes = [ { path : '' , component : ServerDownPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , ThemeModule , NbSidebarModule , NbLayoutModule , RouterModule . forChild ( routes ) , TranslateModule ] , declarations : [ ServerDownPage ] } ) export class ServerDownModule { }