This commit is contained in:
爱喝水的木子
2026-01-08 14:17:08 +08:00
parent 74d351ba32
commit 4149bf122f
9 changed files with 76 additions and 26 deletions

17
src/router/index.js Normal file
View File

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