update redirect
This commit is contained in:
1 parent
0a926e447f
commit
09f7a36edd
2 files changed
+21
-103
No files matched your search
+3
-10
@@ -2,18 +2,11 @@ import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router
|
||||
import auth from './auth';
|
||||
import store from '@/store';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
redirect: '/auth/login'
|
||||
},
|
||||
auth
|
||||
];
|
||||
const routes = [auth];
|
||||
|
||||
const router = createRouter({
|
||||
// history: createWebHistory(),
|
||||
history: createWebHashHistory(),
|
||||
history: createWebHistory(),
|
||||
// history: createWebHashHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user