perf: 迁移项目至Vite构建工具,更新依赖和配置

This commit is contained in:
刘引
2025-07-28 09:46:28 +08:00
parent 11e617adc9
commit 2a38aed1f7
17 changed files with 1094 additions and 1329 deletions

View File

@@ -6,24 +6,12 @@
* @LastEditors: 刘引
* @LastEditTime: 2022-03-11 14:26:24
*/
import path from 'node:path/win32'
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
{
path: '/',
component: () => import('@/views/index.vue'),
children: [
{
path: '/',
component: import('@/views/index.vue'),
children: [{ path: '/', component: import('@/views/index.vue') }]
}
]
// redirect: "/index",
},
{
path: '/user',
component: () => import('@/views/user/index.vue')
component: () => import('@/views/index.vue')
}
]
@@ -32,4 +20,3 @@ const router = createRouter({
routes
})
export default router
// 我感觉