From 90c4a39982297937e5d8408c4fb4cbd560eabbf0 Mon Sep 17 00:00:00 2001 From: landminehq Date: Mon, 1 Apr 2024 00:43:42 +0800 Subject: [PATCH] use web hash history instead of web history --- src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 4d7f869..b57d7c7 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,8 +1,8 @@ -import { createRouter, createWebHistory } from "vue-router"; +import { createRouter, createWebHashHistory } from "vue-router"; import HomeView from "../views/HomeView.vue"; const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: "/",