2020-07-30 13:03:09 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
2017-07-04 10:58:20 -04:00
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
export const routes: Routes = [
|
|
|
|
{ path: '', redirectTo: 'contact', pathMatch: 'full'},
|
2019-12-31 08:35:27 +01:00
|
|
|
{ path: 'items', loadChildren: () => import('./items/items.module').then(m => m.ItemsModule) },
|
|
|
|
{ path: 'customers', loadChildren: () => import('./customers/customers.module').then(m => m.CustomersModule) }
|
2017-07-04 10:58:20 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forRoot(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class AppRoutingModule {}
|