mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-18 05:13:03 +00:00
21 lines
629 B
JavaScript
21 lines
629 B
JavaScript
import { createRouter, createWebHistory } from 'vue-router'
|
|
import Home from '@/views/Home.vue'
|
|
import ShowFile from '@/views/ShowFile.vue'
|
|
import ShowList from '@/views/ShowList.vue'
|
|
import ClientLinks from '@/views/ClientLinks.vue'
|
|
import Playground from '@/views/Playground.vue'
|
|
|
|
const routes = [
|
|
{ path: '/', component: Home },
|
|
{ path: '/showFile', component: ShowFile },
|
|
{ path: '/showList', component: ShowList },
|
|
{ path: '/clientLinks', component: ClientLinks },
|
|
{ path: '/playground', component: Playground }
|
|
]
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory('/'),
|
|
routes
|
|
})
|
|
|
|
export default router
|