File size: 413 Bytes
b4f9490
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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