init:搭建基座框架

This commit is contained in:
liangdong
2025-12-29 19:20:21 +08:00
parent a360d36605
commit 6a2c315a87
35 changed files with 6313 additions and 2 deletions

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

@@ -0,0 +1,16 @@
import { createWebHistory, createRouter } from 'vue-router'
import Login from '@/pages/Login/index.vue';
import HomeView from '@/pages/Home/index.vue';
const routes = [
{ path: '/', component: HomeView },
{ path: '/login', component: Login },
]
const router = createRouter({
history: createWebHistory(),
routes,
})
export default router