Skip to content

Commit 5245441

Browse files
committed
docs(generators:route): create route.md
[skip ci]
1 parent a25ddad commit 5245441

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/generators/route.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Route
2+
Generates a new route.
3+
4+
Example:
5+
```bash
6+
yo angular-fullstack:route myroute
7+
[?] What module name would you like to use? myApp
8+
[?] Where would you like to create this route? client/app/
9+
[?] What will the url of your route be? /myroute
10+
```
11+
12+
Produces:
13+
14+
client/app/myroute/myroute.js
15+
client/app/myroute/myroute.controller.js
16+
client/app/myroute/myroute.controller.spec.js
17+
client/app/myroute/myroute.html
18+
client/app/myroute/myroute.scss

0 commit comments

Comments
 (0)