Outline
In this section, we learned how to create a new module using the CLI. The command is ng generate module module-name
. We learned how to import it into another module (with the --module
flag) or lazy load it into a module (with the --module
and --route
flags combined).
There are other modifiers we can use with the generate action, and the next one we'll cover is components. Continue on in the course to learn how to generate components!
If you have any questions about generating modules, don't forget to go to the docs!