Using Ionic 4, I have created menu page and want to call this page inside multiple pages using ionic selector.
I have tried with exports in menu.module.ts as below.
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild(routes)
],
declarations: [MenuPage],
exports: [
MenuPage
]
})
Can anyone please help me how can I do this and what changes should be required in module.ts file ?