Skip to content

Instantly share code, notes, and snippets.

@nathan-lapinski
Created November 24, 2018 04:59
Show Gist options
  • Save nathan-lapinski/bb7164574697d008125177dc25c0d540 to your computer and use it in GitHub Desktop.
Save nathan-lapinski/bb7164574697d008125177dc25c0d540 to your computer and use it in GitHub Desktop.
minimal routes
const ROUTES: Route[] = [
{ path: 'target', component: TargetComponent },
{ path: 'redir', component: NeverGetHereComponent, canActivate: [CanActivateRouteGuard] }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment