ng g m [ModuleName] --routing
ng g module admin --routing
ng generate module [module-name] --routing
// or the shorthand version of the command:
ng g m [module-name] --routing
content_copy
ng generate module customers --route customers --module app.module
ng generate module [module-name] --routing
// or
ng g m [ModuleName] --routing