15 lines
300 B
TypeScript
15 lines
300 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
const routes: Routes = [
|
|
{path: '', redirectTo: 'login', pathMatch: 'full'}
|
|
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AppRoutingModule { }
|