aboutsummaryrefslogtreecommitdiffstats
path: root/webapp/src/app/app-routing.module.ts
blob: 36629de289e471d7a8e79aa4cca1c759fe1723d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home/home.component';
import { ConfigComponent } from './config/config.component';
import { DevelComponent } from './devel/devel.component';

const routes: Routes = [
    { path: 'config', component: ConfigComponent, data: { title: 'Config' } },
    { path: 'home', component: HomeComponent, data: { title: 'Home' } },
    { path: 'devel', component: DevelComponent, data: { title: 'Build & Deploy' } },
    { path: '**', component: HomeComponent }
];

@NgModule({
    imports: [RouterModule.forRoot(routes)],
    exports: [RouterModule]
})
export class AppRoutingModule { }