1const routes: Routes = [
2 {
3 path: 'customers',
4 loadChildren: () => import('./customers/customers.module').then(module => module.CustomersModule)
5 },
6 {
7 path: 'orders',
8 loadChildren: () => import('./orders/orders.module').then(module => module.OrdersModule)
9 },
10 {
11 path: '',
12 redirectTo: '',
13 pathMatch: 'full'
14 }
15];