Empty placeholder components for worklist-list and case-detail, wired into app.routes.ts (legacy/:id and owned/:id share one page component since the rendered shape is identical). Replaces the CLI welcome template with a minimal shell rendering <router-outlet>.
12 lines
402 B
TypeScript
12 lines
402 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
import { CaseDetailPage } from './case-detail/case-detail/case-detail';
|
|
import { WorklistList } from './worklist/worklist-list/worklist-list';
|
|
|
|
export const routes: Routes = [
|
|
{ path: '', component: WorklistList },
|
|
{ path: 'legacy/:id', component: CaseDetailPage },
|
|
{ path: 'owned/:id', component: CaseDetailPage },
|
|
{ path: '**', redirectTo: '' },
|
|
];
|