Hi there,
One most simple solution for this is following.
As in ionic 4, each page has a module. so page Parent has a module and page Child has a module.
Let’s say you want to render child page into parent page. Do following steps;
you should import child module in parent module
insert child Page into export array of child module , for exxample exports:[ChildPage]
Go to Parent page where you want to render child page and insert child selector , for example
Bonus : this trick can be used for all those component and pages in ionic and angular which you want to render in different modules , for example header, footer, sidebar etc ,
I am using ionic 4 and follow your solution. I add child selector inside parent page. But it displays only child content only. why is it not display parent content. Please advice me.