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
806 B
20 lines
806 B
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import {CouponListComponent} from './coupon-list/coupon-list.component';
|
|
import {CouponEditComponent} from './coupon-edit/coupon-edit.component';
|
|
import {CouponDetailComponent} from './coupon-detail/coupon-detail.component';
|
|
import {SalesCodeListComponent} from './sales-code-list/sales-code-list.component';
|
|
|
|
|
|
const routes: Routes = [
|
|
{ path: 'coupon-list', component: CouponListComponent },
|
|
{ path: 'coupon-edit', component: CouponEditComponent },
|
|
{ path: 'coupon-detail', component: CouponDetailComponent },
|
|
{ path: 'salesCode-list', component: SalesCodeListComponent },
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class CouponRoutingModule { }
|
|
|