34 lines
736 B
TypeScript
34 lines
736 B
TypeScript
|
|
|
|
import CustomerHome from '../customer/home.vue';
|
|
import CustomerCreate from '../customer/create.vue';
|
|
import CustomerEdit from "../customer/edit.vue";
|
|
import CustomerProfile from "./profile/home.vue"
|
|
|
|
const customerRoutes = [
|
|
{
|
|
path: '/customer',
|
|
name: 'customer',
|
|
component: CustomerHome,
|
|
},
|
|
|
|
{
|
|
path: '/customer/create',
|
|
name: 'customerCreate',
|
|
component: CustomerCreate,
|
|
},
|
|
{
|
|
path: '/customer/edit/:id',
|
|
name: 'customerEdit',
|
|
component: CustomerEdit,
|
|
},
|
|
{
|
|
path: '/customer/:id',
|
|
name: 'customerProfile',
|
|
component: CustomerProfile,
|
|
},
|
|
]
|
|
|
|
export default customerRoutes
|
|
//sourceMappingURL=index.ts.map
|