docs: fix broken lazy loading examples with Angular CLI RC upgrade (#25892)

PR Close #25892
This commit is contained in:
Brandon Roberts
2018-10-06 15:02:14 -05:00
committed by Jason Aden
parent f922808b8d
commit 67ad9468d3
5 changed files with 9 additions and 9 deletions

View File

@ -8,11 +8,11 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [
{
path: 'customers',
loadChildren: 'app/customers/customers.module#CustomersModule'
loadChildren: './customers/customers.module#CustomersModule'
},
{
path: 'orders',
loadChildren: 'app/orders/orders.module#OrdersModule'
loadChildren: './orders/orders.module#OrdersModule'
},
{
path: '',