feat: add vue-router and layout components

This commit is contained in:
Tim
2025-07-02 21:17:37 +08:00
parent cc5aa89083
commit 425bd8a596
8 changed files with 152 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomePageView from '../views/HomePageView.vue'
const routes = [
{
path: '/',
name: 'home',
component: HomePageView
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router