Skip to content

Commit d4fce89

Browse files
danielsogljgw96
authored andcommitted
refactor(template): fix component template (ionic-team#11839)
fix ionic-team#11838
1 parent 261bc4d commit d4fce89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/templates/component/module.ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { NgModule } from '@angular/core';
2-
import { IonicPageModule } from 'ionic-angular';
2+
import { IonicModule } from 'ionic-angular';
33
import { $CLASSNAME } from './$FILENAME';
44

55
@NgModule({
66
declarations: [
77
$CLASSNAME,
88
],
99
imports: [
10-
IonicPageModule.forChild($CLASSNAME),
10+
IonicModule,
1111
],
1212
exports: [
1313
$CLASSNAME

0 commit comments

Comments
 (0)