添加路由

This commit is contained in:
xuyue committed 2025-02-28 09:22:38 +08:00
1 parent 8993455dfb
commit 81706fc48d
7 files changed
+321 -22

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { createWebHistory, createRouter } from "vue-router"
import Home from "./pages/Home.vue"
const routes = [{ path: "/", component: Home }]
export const router = createRouter({
history: createWebHistory(),
routes,
})