src/router/index.ts
@@ -1,12 +1,12 @@ import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router'; import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'; const router = createRouter({ history: createWebHashHistory(), routes: [ { path: "/:path(.*)*", redirect: "/home", }, path: '/:path(.*)*', redirect: '/home', }, { path: '/home', name: 'home',