[O] Use history mode instead of hash mode for router

This commit is contained in:
Hykilpikonna
2022-05-10 19:12:14 -04:00
parent c824a1f01c
commit 31c3341f19
+8 -2
View File
@@ -1,4 +1,10 @@
import {createRouter, createWebHashHistory, NavigationFailure, RouteRecordRaw} from 'vue-router'
import {
createRouter,
createWebHashHistory,
createWebHistory,
NavigationFailure,
RouteRecordRaw
} from 'vue-router'
import Home from '../views/Home.vue'
const routes: Array<RouteRecordRaw> = [
@@ -57,7 +63,7 @@ const routes: Array<RouteRecordRaw> = [
]
export const router = createRouter({
history: createWebHashHistory(),
history: createWebHistory(),
routes
})