|
|
@@ -1,4 +1,8 @@
|
|
|
-import { createRouter, createWebHistory } from 'vue-router';
|
|
|
+import {
|
|
|
+ createRouter,
|
|
|
+ createWebHistory,
|
|
|
+ createWebHashHistory,
|
|
|
+} from 'vue-router';
|
|
|
import NProgress from 'nprogress'; // progress bar
|
|
|
import 'nprogress/nprogress.css';
|
|
|
|
|
|
@@ -9,7 +13,7 @@ import createRouteGuard from './guard';
|
|
|
NProgress.configure({ showSpinner: false }); // NProgress Configuration
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHashHistory(),
|
|
|
routes: [
|
|
|
{
|
|
|
path: '/',
|