add favorite albums page

This commit is contained in:
geoffrey45
2022-12-30 10:26:20 +03:00
committed by Mungai Njoroge
parent 782bae52e5
commit 9709a62fea
8 changed files with 53 additions and 34 deletions
+8
View File
@@ -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 };