Skip to content

Commit 7d6fa24

Browse files
authored
Merge pull request #239 from notmessenger/generators
Add instructions for targeting generators to in-app-repo
2 parents b0828a4 + 2a79f81 commit 7d6fa24

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

guides/writing-addons/in-repo-addons.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ module.exports = {
6767
};
6868
```
6969

70+
### Using Generators
71+
To create files for your in-repo-addon using Ember CLI generator commands,
72+
pass the `--in-repo` argument with the name of your in-repo-addon:
73+
74+
```bash
75+
ember generate component --in-repo <in-repo-addon name> <component name>
76+
```
77+
7078
### Generating an in-repo-addon blueprint
7179
To generate a blueprint for your in-repo-addon:
7280

0 commit comments

Comments
 (0)