From 96dfa5d6d57e42e4e8722f468aef3541e58792b9 Mon Sep 17 00:00:00 2001 From: Ash Joseph Date: Mon, 25 Aug 2025 00:17:22 +0100 Subject: [PATCH] Update configuration.md Added an example for setting generator defaults --- guides/appendix/configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/guides/appendix/configuration.md b/guides/appendix/configuration.md index 70c5c6d..c705ccb 100644 --- a/guides/appendix/configuration.md +++ b/guides/appendix/configuration.md @@ -13,6 +13,16 @@ would be `liveReload` in the configuration file. "liveReload": false } ``` +Another use would be to pass defaults to generators, for example: + +```json {data-filename=.ember-cli} +"blueprint": { + "component": { + "gc": true + } + } +``` +will add a component class automatically to generated components. Every development environment will be different but a realistic example setting `--port` and `--proxy` is shown below: