Need help upgrading to Ionic Framework 4.0? Get assistance with our Enterprise Migration Services EXPLORE NOW

IonicPageModule

Improve this doc

IonicPageModule is an NgModule that bootstraps a child IonicPage in order to set up routing.

Usage

import { NgModule } from '@angular/core';

import { IonicPageModule } from 'ionic-angular';

import { HomePage } from './home';

@NgModule({
    declarations: [
        HomePage
    ],
    imports: [
        IonicPageModule.forChild(HomePage)
    ],
    entryComponents: [
        HomePage
    ]
})
export class HomePageModule { }

Static Members

forChild()

API

Native

General