jiangping
2024-08-16 d23d253c12006b66a503bbbc34a30b7d0f52a75a
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