Start application
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
pathMatch: 'full',
|
||||
redirectTo: '/customers'
|
||||
},
|
||||
{
|
||||
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)
|
||||
}
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user