Ionic cli generating pages without module

#1

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

#2
1 Like
#3

so fast answer
thanks

1 Like
#4

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

reference :https://ionicframework.com/docs/cli/generate/

1 Like
#5

is this module file necessary for every page?

#6

Hello.

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

Best regards, anna-liebt

#7

thanks for the reply