docs: add version requirement for routing option (#33909)

PR Close #33909
This commit is contained in:
Judy Bogart 2019-11-18 13:50:02 -08:00 committed by Alex Rickabaugh
parent 288009d6fb
commit 5c23ea71c4
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,13 @@ generates a file called `app-routing.module.ts`, which is one of
the files you need for setting up lazy loading for your feature module. the files you need for setting up lazy loading for your feature module.
Navigate into the project by issuing the command `cd customer-app`. Navigate into the project by issuing the command `cd customer-app`.
<div class="alert is-helpful">
The `--routing` option requires Angular/CLI version 8.1 or higher.
See [Keeping Up to Date](guide/updating).
</div>
## Create a feature module with routing ## Create a feature module with routing
Next, youll need a feature module with a component to route to. Next, youll need a feature module with a component to route to.