Hi
I think I did this differently
Modal:
- created using ionic g page …
- change the route in its routermodule to be ‘settings’ or something else (not being ‘’)
- removing the routes in this module won’t work
app.routing-module.ts
- remove auto generated routing to the modal
calling pages:
- in its module imported the ModalModule
- nothing on entryComponents and declarations
- in the component part imported the ModalComponent
Works nice and I believe it is quite clean this way.
Tom