You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
793 B
20 lines
793 B
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import {OrderListComponent} from './order-list/order-list.component';
|
|
import {OrderDetailComponent} from './order-detail/order-detail.component';
|
|
import {OrderCouponsComponent} from './order-coupons/order-coupons.component';
|
|
import {OrderCouponComponent} from './order-coupon/order-coupon.component';
|
|
|
|
|
|
const routes: Routes = [
|
|
{ path: 'order-list', component: OrderListComponent },
|
|
{ path: 'order-detail', component: OrderDetailComponent },
|
|
{ path: 'order-coupons', component: OrderCouponsComponent },
|
|
{ path: 'order-coupon', component: OrderCouponComponent },
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class OrderRoutingModule { }
|
|
|