I am trying to setup a modal page in my Ionic 4 project. Now, the tutorial is plain clear on this, using a component (not lazy loaded), so that works.
My challenge is that the modal page will be used in multiple other pages, so I need to make it a module. I can import the page in the calling pages to show up but cannot find a way to declare that modalpage properly. If I import the ModalModule (imports) and the ModalPageComponent (entryComponents), then the full page gets replaced.
So the question is: how to structure your Angular project (modules/components) to cater for a shared component that is used as a modal (or popover) using the ModalController?