]>
Commit | Line | Data |
---|---|---|
2539932e C |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
2539932e C |
3 | import { HomeComponent } from './home.component' |
4 | ||
5 | const homeRoutes: Routes = [ | |
6 | { | |
7 | path: '', | |
2e694a3b C |
8 | component: HomeComponent, |
9 | data: { | |
10 | meta: { | |
11 | title: $localize`Homepage` | |
12 | } | |
13 | } | |
2539932e C |
14 | } |
15 | ] | |
16 | ||
17 | @NgModule({ | |
18 | imports: [ RouterModule.forChild(homeRoutes) ], | |
19 | exports: [ RouterModule ] | |
20 | }) | |
21 | export class HomeRoutingModule {} |