File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ ### Directive
2+ Generates a directive.
3+
4+ Example:
5+ ``` bash
6+ yo angular-fullstack:directive myDirective
7+ [? ] Where would you like to create this directive? client/app/
8+ [? ] Does this directive need an external html file? Yes
9+ ```
10+
11+ Produces:
12+
13+ client/app/myDirective/myDirective.directive.js
14+ client/app/myDirective/myDirective.directive.spec.js
15+ client/app/myDirective/myDirective.html
16+ client/app/myDirective/myDirective.scss
17+
18+ ** Simple directive without an html file**
19+
20+ Example:
21+ ``` bash
22+ yo angular-fullstack:directive simple
23+ [? ] Where would you like to create this directive? client/app/
24+ [? ] Does this directive need an external html file? No
25+ ```
26+
27+ Produces:
28+
29+ client/app/simple/simple.directive.js
30+ client/app/simple/simple.directive.spec.js
You can’t perform that action at this time.
0 commit comments