| | |
| | | import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router'; |
| | | import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'; |
| | | import NProgress from 'nprogress'; // progress bar |
| | | import 'nprogress/nprogress.css'; |
| | | |
| | |
| | | import createRouteGuard from './guard'; |
| | | |
| | | NProgress.configure({ showSpinner: false }); // NProgress Configuration |
| | | |
| | | console.log('appRoutes', appRoutes) |
| | | const router = createRouter({ |
| | | history: createWebHistory(), |
| | | // history: createWebHashHistory(), |
| | | //history: createWebHistory(), |
| | | history: createWebHashHistory(), |
| | | routes: [ |
| | | { |
| | | path: '/', |