找半天
import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '@/views/Home'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/',
component: Home
},
{
path: '/Home',
component: Home
}
]
})
export default router;