mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-14 03:21:05 +00:00
Add a channel page and fix some things.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Watch from '../components/WatchVideo.vue'
|
||||
import Trending from '../components/TrendingPage.vue'
|
||||
import Channel from '../components/Channel.vue'
|
||||
|
||||
const routes = [{
|
||||
path: '/watch',
|
||||
@@ -10,6 +11,10 @@ const routes = [{
|
||||
path: '/',
|
||||
name: 'Trending',
|
||||
component: Trending
|
||||
}, {
|
||||
path: '/channel/:channelId',
|
||||
name: 'Channel',
|
||||
component: Channel
|
||||
}]
|
||||
|
||||
const router = createRouter({
|
||||
|
Reference in New Issue
Block a user