05b0b5d8
Yarik
first commit
|
1
2
3
4
|
import { Routes, RouterModule } from '@angular/router';
import { Statements } from './statements.component';
import { BusStop } from './components/busStop/busStop.component';
|
d3423f8e
Yarik
Table change
|
5
|
import { BusStop2 } from './components/busStop2/busStop2.component';
|
05b0b5d8
Yarik
first commit
|
6
7
8
9
10
11
12
|
// noinspection TypeScriptValidateTypes
const routes: Routes = [
{
path: '',
component: Statements,
children: [
|
d3423f8e
Yarik
Table change
|
13
14
|
{ path: 'bus-stop', component: BusStop },
{ path: 'bus-stop-2', component: BusStop2 }
|
05b0b5d8
Yarik
first commit
|
15
16
17
18
19
|
]
}
];
export const routing = RouterModule.forChild(routes);
|