mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix play from album page
+ setup favorites page
This commit is contained in:
committed by
Mungai Njoroge
parent
d250928573
commit
62fb70d26c
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user