mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
15 lines
430 B
TypeScript
15 lines
430 B
TypeScript
import { Routes } from '@angular/router';
|
|
import { Home } from './pages/home/home';
|
|
import { StudentCardList } from './pages/components/student-card-list/student-card-list';
|
|
|
|
export default [
|
|
{
|
|
path: '',
|
|
component: Home,
|
|
children: [
|
|
{ path: '', redirectTo: 'students', pathMatch: 'full' },
|
|
{ path: 'students', component: StudentCardList },
|
|
],
|
|
},
|
|
] satisfies Routes;
|