Skip to content

Instantly share code, notes, and snippets.

@alanxone
Last active June 11, 2018 09:03
Show Gist options
  • Save alanxone/e5241b5c6d57aa1ee473892447b5a2ed to your computer and use it in GitHub Desktop.
Save alanxone/e5241b5c6d57aa1ee473892447b5a2ed to your computer and use it in GitHub Desktop.
NGRX Tutorial - Routes
// 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