初始化项目

This commit is contained in:
2023-01-10 11:52:47 +08:00
parent c74db0d2b9
commit 2180adecb0
142 changed files with 16480 additions and 0 deletions

24
src/router/index.js Normal file
View File

@@ -0,0 +1,24 @@
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [{
path: '/',
redirect: '/login'
},
{
path: '/init',
name: 'Init',
component: () => import('@/view/init/index.vue')
},
{
path: '/login',
name: 'Login',
component: () => import('@/view/login/index.vue')
}
]
const router = createRouter({
history: createWebHashHistory(),
routes
})
export default router