i just upgrade my cli to latest version i.e 3.5 now its not generating module page for lazy loading as before .
Yes, for now, they’ve been disabled. We’ll be adding the functionality back in the next release, but reworking how it’s done. Generally, more interactive behavior so if people want to lazy load pages, they can
I created a post that explains how to get back to the “before” state after generating pages:
Newly released Ionic (ionic-angular) 3.5.2 and app-scripts 2.0.2 changed the behaviour of ionic generate page (or ionic g page) to not generate lazy loaded pages any more, but do it like Ionic 2.x did it. That means no more IonicPage() in the page.ts and no page.modules.ts file at all.
@mhartington already addressed that this is a temporary thing and the possibility to lazy load pages will come back:
The reasons for this change were also documented by him in a Github issue:
We did this bec…