first commit
This commit is contained in:
33
src/pages/customer/routes.ts
Normal file
33
src/pages/customer/routes.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user