Angular
Fundamentals of Angular - Feature Modules

Creating Feature Modules with the CLI

Outline

In this video...

You will learn how to create feature modules with the CLI.

Creating a feature module with the CLI is straightforward. There are only a couple flags that you will want familiarity with. These are the --routing and --module flags.

The routing flag specifies that you want to create a routing module for your feature module. The module flag specifies into which module you want to have your new module imported. This is done with something like --module app.module. The path to the destination module is relative to the app directory and is the name of the module file without the extension.

CLI Course

Angular CLI Basics

 

I finished! On to the next chapter