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

@ -3,8 +3,8 @@ import { Routes, RouterModule } from '@angular/router';
export const routes: Routes = [
{ path: '', redirectTo: 'contact', pathMatch: 'full'},
{ path: 'items', loadChildren: () => import('./items/items.module').then(mod => mod.ItemsModule) },
{ path: 'customers', loadChildren: () => import('./customers/customers.module').then(mod => mod.CustomersModule) }
{ path: 'items', loadChildren: () => import('./items/items.module').then(m => m.ItemsModule) },
{ path: 'customers', loadChildren: () => import('./customers/customers.module').then(m => m.CustomersModule) }
];
@NgModule({