feat(challenge22): new challenge 22

This commit is contained in:
thomas
2023-05-22 22:30:54 +02:00
parent 2d5dab5211
commit 0bbda2b3a4
18 changed files with 288 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { Route } from '@angular/router';
export const appRoutes: Route[] = [
{
path: '',
loadComponent: () => import('./home.component'),
},
{
path: 'test/:testId',
loadComponent: () => import('./test.component'),
data: {
permission: 'admin',
},
},
];