2017-07-04 10:58:20 -04:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
export const routes: Routes = [
|
|
|
|
{ path: '', redirectTo: 'contact', pathMatch: 'full'},
|
2018-10-06 15:02:14 -05:00
|
|
|
{ path: 'items', loadChildren: './items/items.module#ItemsModule' },
|
|
|
|
{ path: 'customers', loadChildren: './customers/customers.module#CustomersModule' }
|
2017-07-04 10:58:20 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forRoot(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class AppRoutingModule {}
|