Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 544 Bytes

directive.md

File metadata and controls

19 lines (11 loc) · 544 Bytes

ng generate directive

Overview

ng generate directive [name] generates a directive

Options

--flat flag to indicate if a dir is created

--prefix specifies whether to use the prefix

--spec specifies if a spec file is generated

--skip-import allows for skipping the module import

--module (-m) allows specification of the declaring module

--export specifies if declaring module exports the directive