Moved Dashboad webapp on Angular 5 !
[src/xds/xds-agent.git] / webapp / src / app / app-routing.module.ts
1 import { NgModule } from '@angular/core';
2 import { Routes, RouterModule } from '@angular/router';
3 import { HomeComponent } from './home/home.component';
4 import { ConfigComponent } from './config/config.component';
5 import { DevelComponent } from './devel/devel.component';
6
7 const routes: Routes = [
8     { path: 'config', component: ConfigComponent, data: { title: 'Config' } },
9     { path: 'home', component: HomeComponent, data: { title: 'Home' } },
10     { path: 'devel', component: DevelComponent, data: { title: 'Build & Deploy' } },
11     { path: '**', component: HomeComponent }
12 ];
13
14 @NgModule({
15     imports: [RouterModule.forRoot(routes)],
16     exports: [RouterModule]
17 })
18 export class AppRoutingModule { }