Files
pyrofetes/src/app/app.routes.ts
T
2025-12-11 17:54:55 +01:00

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)
}
];