11 generate
Angular Builds edited this page 2018-10-22 11:35:13 -04:00

Documentation below is for CLI version 6. For version 7 see here.

ng generate

Overview

ng generate [name] generates the specified schematic

Alias

g - ng g [name]

Available Schematics:

Options

dry-run

--dry-run (alias: -d)

Run through without making any changes.

force

--force (alias: -f)

Forces overwriting of files.