fix(aio): add relative to app level routes section (#26504)
Added word *relative* to the **Routes at the app level** section description. This was not specified before. The routes in the *lazy-loading-ngmodules/src/app/app-routing.module.ts* also had `loadChildren` values starting with `app/...`.
The code for `app-routing.module.ts` is already fixed in [this commit](67ad9468d3
)
PR Close #26504
This commit is contained in:
parent
a609bf50ed
commit
665627e254
|
@ -143,7 +143,7 @@ In `AppRoutingModule`, update the `routes` array with the following:
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
|
|
||||||
The import statements stay the same. The first two paths are the routes to the `CustomersModule` and the `OrdersModule` respectively. Notice that the lazy loading syntax uses `loadChildren` followed by a string that is the path to the module, a hash mark or `#`, and the module’s class name.
|
The import statements stay the same. The first two paths are the routes to the `CustomersModule` and the `OrdersModule` respectively. Notice that the lazy loading syntax uses `loadChildren` followed by a string that is the relative path to the module, a hash mark or `#`, and the module’s class name.
|
||||||
|
|
||||||
### Inside the feature module
|
### Inside the feature module
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue