lll
liukangdong
2024-08-26 1df1e9daa4d33a0e975db7ef0a73ee4dd45d216b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
 
const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
  ]
})
 
export default router