Clip support #25
This commit is contained in:
@ -7,6 +7,7 @@ const CategoryView = () => import('../views/CategoryView.vue')
|
||||
const SearchPageView = () => import('../views/SearchPageView.vue')
|
||||
const VodView = () => import('../views/VodView.vue')
|
||||
const SettingsView = () => import('../views/SettingsView.vue')
|
||||
const ClipView = () => import('../views/ClipView.vue')
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
@ -44,6 +45,10 @@ const router = createRouter({
|
||||
path: '/videos/:vodID',
|
||||
component: VodView
|
||||
},
|
||||
{
|
||||
path: '/:streamer/clip/:slug',
|
||||
component: ClipView
|
||||
},
|
||||
{ path: '/:pathMatch(.*)*', component: PageNotFound }
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user