Skip to content

Commit

Permalink
docs: add missing --no-standalone flag (angular#52910)
Browse files Browse the repository at this point in the history
PR Close angular#52910
  • Loading branch information
CondensedMilk7 authored and dylhunn committed Nov 30, 2023
1 parent 3dfd21d commit 9c7e279
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions adev/src/content/guide/ngmodules/lazy-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ Enter the following command where `customer-app` is the name of your app:

<docs-code language="shell">

ng new customer-app --routing
ng new customer-app --no-standalone --routing

</docs-code>

This creates an application called `customer-app` and the `--routing` flag generates a file called `app-routing.module.ts`. This is one of the files you need for setting up lazy loading for your feature module.
This creates an application called `customer-app`, `--no-standalone` flag makes the app module-based, and the `--routing` flag generates a file called `app-routing.module.ts`.
This is one of the files you need for setting up lazy loading for your feature module.
Navigate into the project by issuing the command `cd customer-app`.

### Create a feature module with routing
Expand Down

0 comments on commit 9c7e279

Please sign in to comment.