fix play from album page

+ setup favorites page
This commit is contained in:
geoffrey45
2022-12-28 12:17:58 +03:00
committed by Mungai Njoroge
parent d250928573
commit 62fb70d26c
10 changed files with 92 additions and 24 deletions
+8
View File
@@ -124,6 +124,12 @@ const queue = {
component: () => import("@/views/QueueView.vue"),
};
const favorites = {
path: "/favorites",
name: "FavoritesView",
component: () => import("@/views/Favorites.vue"),
};
const notFound = {
name: "NotFound",
path: "/:pathMatch(.*)",
@@ -145,6 +151,7 @@ const routes = [
queue,
notFound,
ArtistTracks,
favorites,
];
const Routes = {
@@ -162,6 +169,7 @@ const Routes = {
queue: queue.name,
notFound: notFound.name,
artistTracks: ArtistTracks.name,
favorites: favorites.name,
};
export { routes, Routes };