From 2f86d9b367137ed486b289eb84288d2d99bb8150 Mon Sep 17 00:00:00 2001 From: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> Date: Thu, 16 Feb 2023 22:13:52 +0100 Subject: [PATCH] docs(schematics): clarify schematics collection (#3778) --- projects/ngrx.io/content/guide/schematics/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/projects/ngrx.io/content/guide/schematics/index.md b/projects/ngrx.io/content/guide/schematics/index.md index a9b2d84c9a..663d8f931d 100644 --- a/projects/ngrx.io/content/guide/schematics/index.md +++ b/projects/ngrx.io/content/guide/schematics/index.md @@ -58,4 +58,15 @@ You should end up with the following result in your `angular.json`: } ``` +Or, when the Angular schematic is also registered you should end up with following result: + + +```json +{ + "cli": { + "schematicCollections": ["@schematics/angular", "@ngrx/schematics"], + } +} +``` + The [collection schema](https://github.com/ngrx/platform/tree/master/modules/schematics/collection.json) also has aliases to the most common schematics used to generate files.