chore: starter

This commit is contained in:
2026-01-29 18:44:04 +08:00
commit 9cda358a2e
91 changed files with 16946 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'Home',
component: () => import('../views/Home.vue'),
meta: { title: '首页' },
},
// 可以添加更多路由
]
const router = createRouter({
history: createWebHashHistory(), // 使用 Hash 模式兼容 Electron
routes,
})
export default router