mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add favorite albums page
This commit is contained in:
committed by
Mungai Njoroge
parent
782bae52e5
commit
9709a62fea
@@ -130,6 +130,12 @@ const favorites = {
|
||||
component: () => import("@/views/Favorites.vue"),
|
||||
};
|
||||
|
||||
const favoriteAlbums = {
|
||||
path: "/favorites/albums",
|
||||
name: "FavoriteAlbums",
|
||||
component: () => import("@/views/FavoriteAlbums.vue"),
|
||||
};
|
||||
|
||||
const notFound = {
|
||||
name: "NotFound",
|
||||
path: "/:pathMatch(.*)",
|
||||
@@ -152,6 +158,7 @@ const routes = [
|
||||
notFound,
|
||||
ArtistTracks,
|
||||
favorites,
|
||||
favoriteAlbums,
|
||||
];
|
||||
|
||||
const Routes = {
|
||||
@@ -170,6 +177,7 @@ const Routes = {
|
||||
notFound: notFound.name,
|
||||
artistTracks: ArtistTracks.name,
|
||||
favorites: favorites.name,
|
||||
favoriteAlbums: favoriteAlbums.name,
|
||||
};
|
||||
|
||||
export { routes, Routes };
|
||||
|
||||
Reference in New Issue
Block a user