Skip to content

Commit c37019c

Browse files
committed
fix: switch to hash history for router configuration
1 parent a12664c commit c37019c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/router/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { createRouter, createWebHistory } from 'vue-router'
1+
import { createRouter, createWebHashHistory } from 'vue-router'
22
import HomeView from '../views/HomeView.vue'
33

44
const router = createRouter({
5-
history: createWebHistory(import.meta.env.BASE_URL),
5+
history: createWebHashHistory(import.meta.env.BASE_URL),
66
routes: [
77
{
88
path: '/',

0 commit comments

Comments
 (0)