|
@@ -1,4 +1,4 @@
|
|
-import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
|
|
|
|
|
+import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
|
|
|
|
|
|
const routes: Array<RouteRecordRaw> = [
|
|
const routes: Array<RouteRecordRaw> = [
|
|
{
|
|
{
|
|
@@ -9,7 +9,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
];
|
|
];
|
|
|
|
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
- history: createWebHistory(process.env.BASE_URL),
|
|
|
|
|
|
+ history: createWebHashHistory(process.env.BASE_URL),
|
|
routes,
|
|
routes,
|
|
});
|
|
});
|
|
|
|
|