From 8ed13a37f09559a643ac909a794b40eb62f87cef Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Wed, 17 Oct 2018 22:46:06 -0500 Subject: [PATCH] docs: clarify commands to integrate routing (#26530) PR Close #26530 --- aio/content/guide/router.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 066318d1f6..0895a32fbe 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -1280,8 +1280,9 @@ The **Routing Module** has several characteristics: ### Integrate routing with your app The sample routing application does not include routing by default. -When you use the [Angular CLI](cli) to create a project that will use routing, set the `--routing` option for the project or app, and for each NgModule. -When you create or initialize a new project (using the CLI [`ng new`](cli/new) command) or a new app (using the [`ng generate app`](cli/generate) command), specify the `--routing` option. This tells the CLI to include the `@angular/router` npm package and create a file named `app-routing.module.ts`. +When you create a new workspace and initial application, the [Angular CLI](cli) [`ng new`](cli/new) command prompts you to add "Angular routing". Enter `Y`. +When you generate a new application using the [`ng generate app`](cli/generate) command, specify the `--routing` option. These options tell the CLI to include the `@angular/router` npm package and create a file named `app-routing.module.ts`. + You can then use routing in any NgModule that you add to the project or app. For example, the following command generates an NgModule that can use routing.