EMS/src/app/app.routes.ts
Dominik Säume 76d4624be0
All checks were successful
Quality Check / Linting (push) Successful in 21s
WIP
2025-01-09 04:00:28 +01:00

10 lines
493 B
TypeScript

import { Routes } from '@angular/router';
import { DashboardComponent } from '@app/views/dashboard/dashboard.component';
import { EmployeeDetailComponent } from './views/employee-detail/employee-detail.component';
export const routes: Routes = [
{ path: '', component: DashboardComponent, title: 'Home' },
{ path: 'employee/new', component: EmployeeDetailComponent, title: 'New Employee' },
{ path: 'employee/:id', component: EmployeeDetailComponent, title: 'Edit Employee' }
];