docs: replace lazy loading import syntax parameter name (#34599)

We replace `mod` with `m` to be in line with what the CLI generates.

PR Close #34599
This commit is contained in:
Alan Agius
2019-12-31 08:35:27 +01:00
committed by Alex Rickabaugh
parent 7cdc118c8e
commit 8f389361ec
7 changed files with 19 additions and 19 deletions

View File

@ -8,12 +8,12 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [
{
path: 'customers',
loadChildren: () => import('./customers/customers.module').then(mod => mod.CustomersModule)
loadChildren: () => import('./customers/customers.module').then(m => m.CustomersModule)
// #enddocregion routes-customers
},
{
path: 'orders',
loadChildren: () => import('./orders/orders.module').then(mod => mod.OrdersModule)
loadChildren: () => import('./orders/orders.module').then(m => m.OrdersModule)
// #enddocregion routes-customers-orders
},
{