import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { FormsModule } from '@angular/forms' ; import { Routes , RouterModule } from '@angular/router' ; import { IonicModule } from '@ionic/angular' ; import { GuildBuildingsPage } from './guild-buildings.page' ; import { RaidBossModal } from './raidboss.modal' ; const routes = [ { path : '' , component : GuildBuildingsPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , IonicModule , RouterModule . forChild ( routes ) ] , declarations : [ GuildBuildingsPage , RaidBossModal ] , entryComponents : [ RaidBossModal ] } ) export class GuildBuildingsPageModule { }