mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
feat(doc): move notifivation
This commit is contained in:
20
apps/ngrx/notification/src/app/routes.ts
Normal file
20
apps/ngrx/notification/src/app/routes.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Route } from '@angular/router';
|
||||
|
||||
export const ROUTES: Route[] = [
|
||||
{ path: '', pathMatch: 'full', redirectTo: 'teacher' },
|
||||
{
|
||||
path: 'teacher',
|
||||
loadComponent: () =>
|
||||
import('./teacher/teacher.component').then((m) => m.TeacherComponent),
|
||||
},
|
||||
{
|
||||
path: 'student',
|
||||
loadComponent: () =>
|
||||
import('./student/student.component').then((m) => m.StudentComponent),
|
||||
},
|
||||
{
|
||||
path: 'school',
|
||||
loadComponent: () =>
|
||||
import('./school/school.component').then((m) => m.SchoolComponent),
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user