mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-14 03:21:05 +00:00
Format all code files using the new configuration
This commit is contained in:
@@ -1,34 +1,41 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
|
||||
const routes = [{
|
||||
path: '/watch',
|
||||
name: 'Watch',
|
||||
component: () => import('../components/WatchVideo.vue')
|
||||
}, {
|
||||
path: '/',
|
||||
name: 'Trending',
|
||||
component: () => import('../components/TrendingPage.vue')
|
||||
}, {
|
||||
path: '/channel/:channelId',
|
||||
name: 'Channel',
|
||||
component: () => import('../components/Channel.vue')
|
||||
}, {
|
||||
path: '/preferences',
|
||||
name: 'Preferences',
|
||||
component: () => import('../components/Preferences.vue')
|
||||
}, {
|
||||
path: '/results',
|
||||
name: 'SearchResults',
|
||||
component: () => import('../components/SearchResults.vue')
|
||||
}, {
|
||||
path: '/playlist',
|
||||
name: 'Playlist',
|
||||
component: () => import('../components/Playlist.vue')
|
||||
}]
|
||||
const routes = [
|
||||
{
|
||||
path: "/watch",
|
||||
name: "Watch",
|
||||
component: () => import("../components/WatchVideo.vue"),
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
name: "Trending",
|
||||
component: () => import("../components/TrendingPage.vue"),
|
||||
},
|
||||
{
|
||||
path: "/channel/:channelId",
|
||||
name: "Channel",
|
||||
component: () => import("../components/Channel.vue"),
|
||||
},
|
||||
{
|
||||
path: "/preferences",
|
||||
name: "Preferences",
|
||||
component: () => import("../components/Preferences.vue"),
|
||||
},
|
||||
{
|
||||
path: "/results",
|
||||
name: "SearchResults",
|
||||
component: () => import("../components/SearchResults.vue"),
|
||||
},
|
||||
{
|
||||
path: "/playlist",
|
||||
name: "Playlist",
|
||||
component: () => import("../components/Playlist.vue"),
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
})
|
||||
routes,
|
||||
});
|
||||
|
||||
export default router
|
||||
export default router;
|
||||
|
Reference in New Issue
Block a user