2018-05-02 10:46:27 -07:00

1.4 KiB

ng generate module

Overview

ng generate module [name] generates an NgModule

Options

dry-run

--dry-run (alias: -d)

Run through without making any changes.

force

--force (alias: -f)

Forces overwriting of files.

project

--project

The name of the project.

routing

--routing

Generates a routing module.

routing-scope

--routing-scope

The scope for the generated routing.

spec

--spec

Specifies if a spec file is generated.

flat

--flat

Flag to indicate if a dir is created.

module

--module (alias: -m)

Allows specification of the declaring module.