# Lazy load pages

**URL:** <https://forum.ionicframework.com/t/lazy-load-pages/97929>\
**Category:** ionic-v3\
**Created:** [July 12, 2017, 4:50pm UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929 "2017-07-12T16:50:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iessimarrocicles](https://avatars.discourse-cdn.com/v4/letter/i/49beb7/32.png) [@iessimarrocicles](https://forum.ionicframework.com/u/iessimarrocicles)\
**Post date:** [July 12, 2017, 4:50pm UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929/1 "2017-07-12T16:50:11Z")

</div>

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:

![image](https://global.discourse-cdn.com/ionicframework/original/3X/5/1/51fa6deaccbeb0f3f1c9f98f70714bc83719634d.png)

They only generate 3 pages:

![image](https://global.discourse-cdn.com/ionicframework/original/3X/8/f/8f2d4deeb8f0f1b91b5927c5a4a13a849cf0ac86.png)

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

What’s wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![danielmm1997](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/danielmm1997/32/85966_2.png) [@danielmm1997](https://forum.ionicframework.com/u/danielmm1997)\
**Post date:** [July 12, 2017, 4:52pm UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929/2 "2017-07-12T16:52:57Z")

</div>

> <https://github.com/ionic-team/ionic-app-scripts/issues/1105>

---

<div class="post-metadata">

**Author:** ![iessimarrocicles](https://avatars.discourse-cdn.com/v4/letter/i/49beb7/32.png) [@iessimarrocicles](https://forum.ionicframework.com/u/iessimarrocicles)\
**Post date:** [July 12, 2017, 4:55pm UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929/3 "2017-07-12T16:55:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 13, 2017, 8:42pm UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929/4 "2017-07-13T20:42:22Z")

</div>

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)](https://forum.ionicframework.com/t/how-to-make-the-non-lazy-loaded-generated-pages-lazy-loaded-again-ionic-angular-3-5-2-app-scripts-2-0-2/98102)

---

<div class="post-metadata">

**Author:** ![rajeshtbabu](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@rajeshtbabu](https://forum.ionicframework.com/u/rajeshtbabu)\
**Post date:** [July 14, 2017, 6:41am UTC](https://forum.ionicframework.com/t/lazy-load-pages/97929/5 "2017-07-14T06:41:28Z")

</div>

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