From d4fce8995b81d7878bb3810756840144a81ac0c5 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 30 May 2017 16:07:45 +0200 Subject: [PATCH] refactor(template): fix component template (#11839) fix #11838 --- scripts/templates/component/module.ts.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/templates/component/module.ts.tmpl b/scripts/templates/component/module.ts.tmpl index 270da9f3df..627bd13f68 100644 --- a/scripts/templates/component/module.ts.tmpl +++ b/scripts/templates/component/module.ts.tmpl @@ -1,5 +1,5 @@ import { NgModule } from '@angular/core'; -import { IonicPageModule } from 'ionic-angular'; +import { IonicModule } from 'ionic-angular'; import { $CLASSNAME } from './$FILENAME'; @NgModule({ @@ -7,7 +7,7 @@ import { $CLASSNAME } from './$FILENAME'; $CLASSNAME, ], imports: [ - IonicPageModule.forChild($CLASSNAME), + IonicModule, ], exports: [ $CLASSNAME