We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9104abe commit 345fea5Copy full SHA for 345fea5
angular/src/app/app-routing.module.ts
@@ -8,14 +8,17 @@ import { AppComponent } from './app.component';
8
RouterModule.forChild([
9
{
10
path: '',
11
+ component: AppComponent,
12
children: [
13
14
path: 'home',
15
loadChildren: () => import('./home/home.module').then((m) => m.HomeModule),
16
+ canActivate: [AppRouteGuard]
17
},
18
19
path: 'about',
20
loadChildren: () => import('./about/about.module').then((m) => m.AboutModule),
21
22
23
24
path: 'users',
@@ -38,6 +41,7 @@ import { AppComponent } from './app.component';
38
41
39
42
path: 'update-password',
40
43
loadChildren: () => import('./users/users.module').then((m) => m.UsersModule),
44
45
46
]
47
}
0 commit comments