Add a channel page and fix some things.

This commit is contained in:
FireMasterK
2020-11-13 02:12:02 +05:30
parent 14a1d96c65
commit 98640e6d92
9 changed files with 145 additions and 59 deletions

View File

@@ -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({