Last active
April 13, 2023 13:18
-
-
Save GerritRiesch94/930358bf848701405f8616d3d208f538 to your computer and use it in GitHub Desktop.
Old App Routing Module with AuthGuard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const routes: Routes = [ | |
{ | |
path: 'home', | |
loadComponent: () => import('./home/home.component').then(m => m.HomeComponent), | |
canActivate: [AuthGuard] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment