1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| import { createRouter, createWebHistory } from 'vue-router'
|
| const router = createRouter({
| history: createWebHistory(import.meta.env.BASE_URL),
| routes: [
| {
| path: '/hh',
| name: 'home',
| component: () => import('../views/HomeView.vue')
| }
| ,
| {
| path: '/yyy',
| name: 'home2',
| component: () => import('../views/HomeView.vue')
| }
| ]
| })
|
| export default router
|
|