Skip to content

Instantly share code, notes, and snippets.

@hamzahjamad
Created November 26, 2017 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamzahjamad/0974ca4f1eec78106017d0a7807d8646 to your computer and use it in GitHub Desktop.
Save hamzahjamad/0974ca4f1eec78106017d0a7807d8646 to your computer and use it in GitHub Desktop.
//custom-component-lazyload\src\pages\home\home.module.ts
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { HomePage } from './home';
//add this line
import { ComponentsModule } from '../../components/components.module';
@NgModule({
declarations: [
HomePage,
],
imports: [
//add this line too
ComponentsModule,
IonicPageModule.forChild(HomePage),
],
})
export class HomePageModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment