first commit
This commit is contained in:
32
src/pages/service/routes.ts
Normal file
32
src/pages/service/routes.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
import ServiceHome from '../service/home.vue';
|
||||
import ServiceCreate from '../service/create.vue';
|
||||
import ServiceEdit from '../service/edit.vue';
|
||||
import ServiceCall from '../service/view.vue';
|
||||
|
||||
const serviceRoutes = [
|
||||
{
|
||||
path: '/service',
|
||||
name: 'service',
|
||||
component: ServiceHome,
|
||||
},
|
||||
{
|
||||
path: '/service/:id',
|
||||
name: 'serviceCall',
|
||||
component: ServiceCall,
|
||||
},
|
||||
{
|
||||
path: '/service/create/:id',
|
||||
name: 'serviceCreate',
|
||||
component: ServiceCreate,
|
||||
},
|
||||
{
|
||||
path: '/service/edit/:id',
|
||||
name: 'serviceEdit',
|
||||
component: ServiceEdit,
|
||||
},
|
||||
]
|
||||
|
||||
export default serviceRoutes
|
||||
//sourceMappingURL=index.ts.map
|
||||
Reference in New Issue
Block a user