Skip to content

Commit 96dfa5d

Browse files
authored
Update configuration.md
Added an example for setting generator defaults
1 parent 5741a28 commit 96dfa5d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

guides/appendix/configuration.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ would be `liveReload` in the configuration file.
1313
"liveReload": false
1414
}
1515
```
16+
Another use would be to pass defaults to generators, for example:
17+
18+
```json {data-filename=.ember-cli}
19+
"blueprint": {
20+
"component": {
21+
"gc": true
22+
}
23+
}
24+
```
25+
will add a component class automatically to generated components.
1626

1727
Every development environment will be different but a realistic example setting `--port` and `--proxy` is shown below:
1828

0 commit comments

Comments
 (0)