From 31c3341f198d40a5f5daff50dc31750729d6c2c2 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Tue, 10 May 2022 19:12:14 -0400 Subject: [PATCH] [O] Use history mode instead of hash mode for router --- src/scripts/router.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/scripts/router.ts b/src/scripts/router.ts index 7dcf577..c2ebfbb 100644 --- a/src/scripts/router.ts +++ b/src/scripts/router.ts @@ -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 = [ @@ -57,7 +63,7 @@ const routes: Array = [ ] export const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes })