]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core'; | |
2 | import { RouterModule, Routes } from '@angular/router'; | |
3 | ||
4 | import { LoginComponent } from './login.component'; | |
5 | ||
6 | const loginRoutes: Routes = [ | |
7 | { | |
8 | path: 'login', | |
9 | component: LoginComponent, | |
10 | data: { | |
11 | meta: { | |
12 | title: 'Login' | |
13 | } | |
14 | } | |
15 | } | |
16 | ]; | |
17 | ||
18 | @NgModule({ | |
19 | imports: [ RouterModule.forChild(loginRoutes) ], | |
20 | exports: [ RouterModule ] | |
21 | }) | |
22 | export class LoginRoutingModule {} |