import component from 'element-plus/es/components/tree-select/src/tree-select-option.mjs' import { createRouter, createWebHistory } from 'vue-router' const routes = [ { path: '/', name: 'Home', component: () => import('../views/Home.vue') }, { path: '/cockpit', name: 'Cockpit', component: () => import('../views/cockpit/index.vue') }, { path: '/yhz', name: 'yhz', component: () => import('../views/ServiceStationManagePage/index.vue') }, { path: '/yhzsb', name: 'yhzsb', component: () => import('../views/EquipmentManagement/index.vue') } ] const router = createRouter({ history: createWebHistory(), routes }) export default router