refactor: use createWebHashHistory instead of createWebHistory
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { h, resolveComponent } from 'vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||
|
||||
import DefaultLayout from '@/layouts/DefaultLayout'
|
||||
|
||||
@@ -296,7 +296,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(process.env.BASE_URL),
|
||||
history: createWebHashHistory(process.env.BASE_URL),
|
||||
routes,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user