Last active
July 8, 2017 07:58
-
-
Save theoomoregbee/e1de9886e0ff763085b119a27d2e01bb to your computer and use it in GitHub Desktop.
EVERYTHING YOU NEED TO KNOW ON SECURING YOUR ANGULAR 2+ SPA--> router created
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
import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; | |
import { LoginComponent } from './login/login.component'; | |
import {Routes} from '@angular/router'; | |
export const APP_ROUTES: Routes = [ | |
{ path: 'login', component: LoginComponent }, | |
{ path: '**', component: PageNotFoundComponent } | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment