From a86d7ad0a5144be7f3d31feed896ed830895124b Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 13 Jul 2020 10:28:45 +0300 Subject: [PATCH] docs: update generation custom app layout command in component-replacement.md --- docs/en/UI/Angular/Component-Replacement.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/en/UI/Angular/Component-Replacement.md b/docs/en/UI/Angular/Component-Replacement.md index 8c1d45134f..d2c75cd67c 100644 --- a/docs/en/UI/Angular/Component-Replacement.md +++ b/docs/en/UI/Angular/Component-Replacement.md @@ -48,9 +48,7 @@ The example below describes how to replace the `ApplicationLayoutComponent`: Run the following command to generate a layout in `angular` folder: ```bash -yarn ng generate component shared/my-application-layout --export --entryComponent - -# You don't need the --entryComponent option in Angular 9 +yarn ng generate component my-application-layout ``` Add the following code in your layout template (`my-layout.component.html`) where you want the page to be loaded.