Shivam Mishra
2024-10-02 13:06:30 +05:30
committed by GitHub
parent e0bf2bd9d4
commit 42f6621afb
661 changed files with 15939 additions and 31194 deletions

View File

@@ -1,10 +1,10 @@
import VueRouter from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';
import routes from './routes';
import AnalyticsHelper from 'dashboard/helper/AnalyticsHelper';
import { validateRouteAccess } from '../helpers/RouteHelper';
export const router = new VueRouter({ mode: 'history', routes });
export const router = createRouter({ history: createWebHistory(), routes });
const sensitiveRouteNames = ['auth_password_edit'];