Initial commit

This commit is contained in:
hyql 2026-07-09 08:25:00 +08:00
commit fde22017a1
35 changed files with 5476 additions and 0 deletions

31
src/router/index.js Normal file
View file

@ -0,0 +1,31 @@
import { createRouter, createWebHistory } from 'vue-router'
import CoachView from '../views/CoachView.vue'
import MemberView from '../views/MemberView.vue'
import CourseView from '../views/CourseView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
redirect: '/coach',
},
{
path: '/coach',
name: 'coach',
component: CoachView,
},
{
path: '/member',
name: 'member',
component: MemberView,
},
{
path: '/course',
name: 'course',
component: CourseView,
},
],
})
export default router