Ionic 3 and generating pages


#1

Hi guys, I took a break from Ionic since last summer and now generating pages for my project seems to be causing me a few issues. I’ve fixed it but I’m not sure if its the correct fix.

So when generating pages I used to just put the page name into the app.module and declaration and imports and I was set. Now I try to do that and i get errors.

I’m wondering what the correct way to setup components/pages is now with lazy loading. Do I put the page names in the declaration and entry components in app.module OR do I import the module name of each page to the imports section of the app.module?

Cheers


#2

See: Problem with "declarations of 2 modules"