Skip to content

Commit cd75000

Browse files
committed
docs(generators): tweak app and route docs
[skip ci]
1 parent 28cf654 commit cd75000

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/generators/app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Sets up a new AngularJS + Express app, generating all the boilerplate you need t
44
Usage:
55
```bash
66
Usage:
7+
yo angular-fullstack [options] [<name>]
78
yo angular-fullstack:app [options] [<name>]
89

910
Options:

docs/generators/route.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Produces:
2020
Your new `myroute.component.js` will contain Angular code registering a new module, defaulting to `myApp.myRoute`. The default export of the component will be this name. Make sure to import this name in a parent Angular module, and add it as a dependency like so:
2121

2222
```js
23-
import myRouteComponent from './myroute/myroute.component';
23+
import MyRouteModule from './myroute/myroute.component';
2424

2525
...
2626

27-
angular.module('myApp.myParent', [myRouteComponent]);
27+
angular.module('myApp.myParent', [MyRouteModule]);
2828
```

0 commit comments

Comments
 (0)