feat: init

This commit is contained in:
2025-09-03 22:08:46 +08:00
parent 2d1b1a1840
commit 55242fc923
26 changed files with 5322 additions and 0 deletions

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

@@ -0,0 +1,21 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/about',
name: 'about',
component: () => import('../views/AboutView.vue'),
},
],
})
export default router