This commit is contained in:
2026-06-15 09:00:38 +08:00
parent fec66377d5
commit 4640c5e02b
191 changed files with 6046 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import ChapterView from '../views/ChapterView.vue'
import SortDemo from '../views/SortDemo.vue'
const routes = [
{
path: '/',
name: 'Home',
component: Home
},
{
path: '/chapter/:id',
name: 'Chapter',
component: ChapterView,
props: true
},
{
path: '/sort-demo',
name: 'SortDemo',
component: SortDemo
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router