Last active
June 11, 2018 09:03
-
-
Save alanxone/e5241b5c6d57aa1ee473892447b5a2ed to your computer and use it in GitHub Desktop.
NGRX Tutorial - Routes
This file contains hidden or 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
// NGRX Complete Tutorial Without Pain (Angular6 / RxJS6) | |
// https://medium.com/@andrew.kao/ngrx-complete-tutorial-without-pain-angular6-rxjs6-5511b8cb8dac | |
import { Routes } from '@angular/router'; | |
import { AuthGuard } from '(auth guard path)'; | |
export const routes: Routes = [ | |
{ | |
path: 'team', | |
loadChildren: '(Team App module)', | |
canActivate: [AuthGuard], | |
} | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment