Lazy load pages


I have problems to generate a lazy load pages. I have a new project in ionic 3 and I generate a new one page with the CLI:

ionic g page home

This is my setup:

They only generate 3 pages:

Is it corret? I thought that it will generate 4 pages with home.module.ts

What’s wrong?




So if i want to create a lazy load pages, I should create home.module.ts manually?


Exactly, for now until the CLI comes back with a better generator.

Instructions here: How to make the non-lazy-loaded generated pages lazy-loaded again (ionic-angular 3.5.2 + app-scripts 2.0.2)


hi , can you help me how to save image in device gallery , ionic 2