Ionic Page with Child Ionic pages

Hi Team,

I have a requirement like adding an ionic page in to another page as a child page. I have to add 5 to 6 child ionic pages to parent ionic page.

I have added by adding page selectors in parent page html with appropriate css. I haven’t written any piece of code in my .ts file, everything is fine till here.

But while implementing I found that view life cycle methods are not getting called for child pages which are added to parent page.

I have googled from past 3days how to add child page to parent page in ionic, I didn’t get any solution.

Please let me know the correct process of adding a page as child to another ionic page & view life cycle methods of the child pages must be called.

How this can he achieved?

https://angular.io/guide/lifecycle-hooks

ngOnInit
ngOnChanges
ngAfterViewInit
ngOnDestroy