summaryrefslogtreecommitdiffstats
path: root/webapp/src/app/app-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/app/app-routing.module.ts')
-rw-r--r--webapp/src/app/app-routing.module.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/webapp/src/app/app-routing.module.ts b/webapp/src/app/app-routing.module.ts
new file mode 100644
index 0000000..36629de
--- /dev/null
+++ b/webapp/src/app/app-routing.module.ts
@@ -0,0 +1,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 { }