34 lines
919 B
TypeScript
34 lines
919 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: '',
|
|
pathMatch: 'full',
|
|
redirectTo: '/customers'
|
|
},
|
|
{
|
|
path:'contact',
|
|
loadComponent: () => import('./pages/contact/contact').then(x => x.Contact)
|
|
},
|
|
{
|
|
path:'customers',
|
|
loadComponent: () => import('./pages/customers/customers').then(x => x.Customers)
|
|
},
|
|
|
|
{
|
|
path:'staff',
|
|
loadComponent: () => import('./pages/staff/staff').then(x => x.Staff)
|
|
},
|
|
|
|
{
|
|
path:'opportunities',
|
|
loadComponent: () => import('./pages/opportunities/opportunities').then(x => x.Opportunities)
|
|
},
|
|
|
|
{
|
|
path:'providers',
|
|
loadComponent: () => import('./pages/providers/providers').then(x => x.Providers)
|
|
}
|
|
|
|
];
|