mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(templates): change to IonicPageModule
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { IonicModule } from 'ionic-angular';
|
import { IonicPageModule } from 'ionic-angular';
|
||||||
import { $CLASSNAME } from './$FILENAME';
|
import { $CLASSNAME } from './$FILENAME';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@ -7,7 +7,7 @@ import { $CLASSNAME } from './$FILENAME';
|
|||||||
$CLASSNAME,
|
$CLASSNAME,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
IonicModule.forChild($CLASSNAME),
|
IonicPageModule.forChild($CLASSNAME),
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
$CLASSNAME
|
$CLASSNAME
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { IonicModule } from 'ionic-angular';
|
import { IonicPageModule } from 'ionic-angular';
|
||||||
import { $CLASSNAME } from './$FILENAME';
|
import { $CLASSNAME } from './$FILENAME';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@ -7,7 +7,7 @@ import { $CLASSNAME } from './$FILENAME';
|
|||||||
$CLASSNAME,
|
$CLASSNAME,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
IonicModule.forChild($CLASSNAME),
|
IonicPageModule.forChild($CLASSNAME),
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class $CLASSNAMEModule {}
|
export class $CLASSNAMEModule {}
|
||||||
|
Reference in New Issue
Block a user