parent
1b6c4e7ae0
commit
8fdd702245
|
@ -17,7 +17,7 @@ When you’re done, users will be able to navigate the app like this:
|
||||||
|
|
||||||
## Add the `AppRoutingModule`
|
## Add the `AppRoutingModule`
|
||||||
|
|
||||||
An Angular best practice is to load and configure the router in a separate, top-level module
|
In Angular, the best practice is to load and configure the router in a separate, top-level module
|
||||||
that is dedicated to routing and imported by the root `AppModule`.
|
that is dedicated to routing and imported by the root `AppModule`.
|
||||||
|
|
||||||
By convention, the module class name is `AppRoutingModule` and it belongs in the `app-routing.module.ts` in the `src/app` folder.
|
By convention, the module class name is `AppRoutingModule` and it belongs in the `app-routing.module.ts` in the `src/app` folder.
|
||||||
|
|
Loading…
Reference in New Issue