app
This commit is contained in:
1 parent
be842cc1d5
commit
9a75589282
13 files changed
+1119
-43
No files matched your search
@@ -1,9 +1,11 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'
|
||||
import { useAuthStore } from '../stores/auth'
|
||||
import AdminLayout from '../layouts/AdminLayout.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: import.meta.env.VITE_ROUTER_MODE === 'hash'
|
||||
? createWebHashHistory()
|
||||
: createWebHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/login',
|
||||
|
||||
Reference in new issue
Block a user