|
|
@ -2,13 +2,11 @@ import { NgModule } from '@angular/core'; |
|
|
|
import { Routes, RouterModule } from '@angular/router'; |
|
|
|
import { Routes, RouterModule } from '@angular/router'; |
|
|
|
import {IndexComponent} from './index/index.component'; |
|
|
|
import {IndexComponent} from './index/index.component'; |
|
|
|
import {TestComponent} from './test/test.component'; |
|
|
|
import {TestComponent} from './test/test.component'; |
|
|
|
import {OrderStatisticsComponent} from './order-statistics/order-statistics.component'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const routes: Routes = [ |
|
|
|
const routes: Routes = [ |
|
|
|
{ path: '', component: IndexComponent }, |
|
|
|
{ path: '', component: IndexComponent }, |
|
|
|
{ path: 'test', component: TestComponent }, |
|
|
|
{ path: 'test', component: TestComponent }, |
|
|
|
{ path: 'order-statistics', component: OrderStatisticsComponent } |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
@NgModule({ |
|
|
|