import { createRouter, createWebHashHistory } from 'vue-router' import SegmentationView from '../views/SegmentationView.vue' const routes = [ { path: '/', redirect: '/segmentation' }, { path: '/segmentation', name: 'segmentation', component: SegmentationView } ] const router = createRouter({ history: createWebHashHistory(), routes }) export default router