16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
export const routes: Routes = [
|
|
|
|
{
|
|
path: '',
|
|
pathMatch: 'full',
|
|
redirectTo: 'discussions'
|
|
},
|
|
|
|
{
|
|
path: 'login',
|
|
loadComponent: () => import('./login-form/login-form.component').then(m => m.LoginFormComponent)
|
|
},
|
|
];
|