liukangdong
2024-07-05 da00ef0e4d14467a65862cc8d5033850de6a5520
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