Ionic cli generating pages without module

I installed ionic cli (the latest version)
and when i use ionic generate page HomePage, it generates without home.module.ts
in another project that i created before few days it is generating with module.
how to fix it?

ionic 3.5.0

1 Like

so fast answer

1 Like

You can use below cli command:
ionic generate page Detail --no-module

reference :

1 Like

is this module file necessary for every page?


if eager loading -> No.
if lazy loading -> Yes.

Best regards, anna-liebt

thanks for the reply