I’d like to declare some pages with their dependencies in a separate NPM module. Then import that module in my app and jump to that pages like navController.push(“pagename”);
The reason for this is distributed development and very loose coupling of artefacts. I have succeeded with pushing @Components to NPM modules, but can’t get @IonicPages to work.
I’ve tried to create an @ngModule that declares and exports my pages (also the pages are @ngModules), then push that module to NPM and add the dependency to my app.
Unfortunately webpack does not put that pages to the correct bundle in the build - seems like - don’t know.
Someone here who has already managed to solve such an issue?
Thanks, Rainer