mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add a blank settings view
- use for loop to render l-sidebar content - add current track image on l-sidebar - other minor changes
This commit is contained in:
+9
-3
@@ -7,6 +7,7 @@ import AlbumsExplorer from "../views/AlbumsExplorer.vue";
|
||||
import AlbumView from "../views/AlbumView.vue";
|
||||
|
||||
import ArtistsExplorer from "../views/ArtistsExplorer.vue";
|
||||
import SettingsView from "../views/SettingsView.vue";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -30,7 +31,7 @@ const routes = [
|
||||
},
|
||||
{
|
||||
path: "/albums",
|
||||
name: "AlbumsExplorer",
|
||||
name: "AlbumsView",
|
||||
component: AlbumsExplorer,
|
||||
},
|
||||
{
|
||||
@@ -40,9 +41,14 @@ const routes = [
|
||||
},
|
||||
{
|
||||
path: "/artists",
|
||||
name: "ArtistsExplorer",
|
||||
name: "ArtistsView",
|
||||
component: ArtistsExplorer,
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/settings",
|
||||
name: "SettingsView",
|
||||
component: SettingsView,
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user