We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b16ded commit 1f5b257Copy full SHA for 1f5b257
src/app/tutorials/tutorials.router.ts
@@ -1,9 +1,16 @@
1
import { NgModule } from '@angular/core';
2
import { Routes, RouterModule } from '@angular/router';
3
import { TutorialsComponent } from './tutorials.component';
4
+import { InputComponent } from './input/input.component';
5
6
const routes: Routes = [
- { path: '', component: TutorialsComponent },
7
+ {
8
+ path: '',
9
+ component: TutorialsComponent,
10
+ children: [
11
+ { path: 'input', component: InputComponent },
12
+ ],
13
+ },
14
];
15
16
export const TutorialsRoutingModule = RouterModule.forChild(routes);
0 commit comments