Created
September 24, 2019 22:36
-
-
Save buildmotion/328d37da15c130ed9a63251e541f3197 to your computer and use it in GitHub Desktop.
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
import { NgModule, Component } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { RouterModule, Routes } from '@angular/router'; | |
import { LoginComponent } from '../login/login.component'; | |
const routes: Routes = [ | |
{ | |
path: '', // default route for the security application. | |
component: LoginComponent | |
} | |
]; | |
@NgModule({ | |
declarations: [], | |
imports: [ | |
CommonModule, | |
RouterModule.forChild(routes) | |
] | |
}) | |
export class AppRoutingModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment