mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Dylan Hunn
parent
063954a6f4
commit
60dc59ba24
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user