feat: 新增路由|状态管理依赖

This commit is contained in:
duanshuwen
2025-09-22 20:26:48 +08:00
parent 329fc3eb0e
commit 137cb239a8
6 changed files with 71 additions and 8946 deletions

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

@@ -0,0 +1,16 @@
import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
name: 'Home',
component: () => import('../App.vue')
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router