|
@@ -1,4 +1,4 @@
|
|
|
-import { createWebHistory, createRouter } from "vue-router";
|
|
|
+import { createWebHistory, createWebHashHistory, createRouter } from "vue-router";
|
|
|
|
|
|
const routes = [
|
|
|
{
|
|
@@ -10,7 +10,7 @@ const routes = [
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(""),
|
|
|
+ history: createWebHashHistory(),
|
|
|
routes: routes,
|
|
|
// scrollBehavior (to, from, savedPosition) {
|
|
|
// if (savedPosition) {
|