Skip to content

Commit

Permalink
Merge pull request #239 from notmessenger/generators
Browse files Browse the repository at this point in the history
Add instructions for targeting generators to in-app-repo
  • Loading branch information
jenweber committed Dec 2, 2021
2 parents b0828a4 + 2a79f81 commit 7d6fa24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions guides/writing-addons/in-repo-addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ module.exports = {
};
```

### Using Generators
To create files for your in-repo-addon using Ember CLI generator commands,
pass the `--in-repo` argument with the name of your in-repo-addon:

```bash
ember generate component --in-repo <in-repo-addon name> <component name>
```

### Generating an in-repo-addon blueprint
To generate a blueprint for your in-repo-addon:

Expand Down

0 comments on commit 7d6fa24

Please sign in to comment.