Initial commit (without large files)

This commit is contained in:
2025-04-18 12:34:45 +08:00
commit 87531b92c5
18 changed files with 3796 additions and 0 deletions

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

@@ -0,0 +1,25 @@
// router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import IndexVue from '@/views/Index.vue'
import PlayVue from '@/views/Play.vue'
const routes = [
{
path: '/',
name: 'Index',
component: IndexVue,
props: route => ({ query: route.query })
},
{
path: '/play',
name: 'Play',
component: PlayVue,
props: route => ({ query: route.query })
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router