Skip to content

Instantly share code, notes, and snippets.

@buildmotion
Created September 24, 2019 22:36
Show Gist options
  • Save buildmotion/328d37da15c130ed9a63251e541f3197 to your computer and use it in GitHub Desktop.
Save buildmotion/328d37da15c130ed9a63251e541f3197 to your computer and use it in GitHub Desktop.
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