Initial commit.

A WIP front end.
This commit is contained in:
FireMasterK
2020-11-11 14:50:57 +05:30
parent ec24841f1a
commit 14a1d96c65
10 changed files with 1541 additions and 222 deletions

20
src/router/router.js Normal file
View File

@@ -0,0 +1,20 @@
import { createRouter, createWebHistory } from 'vue-router'
import Watch from '../components/WatchVideo.vue'
import Trending from '../components/TrendingPage.vue'
const routes = [{
path: '/watch',
name: 'Watch',
component: Watch
}, {
path: '/',
name: 'Trending',
component: Trending
}]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router