Fixed #40: added artist browsing view

This commit is contained in:
Eliot Berriot 2017-12-12 23:41:47 +01:00
parent 74926114e4
commit 926db0f366
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 105 additions and 4 deletions

View file

@ -7,6 +7,7 @@ import Logout from '@/components/auth/Logout'
import Library from '@/components/library/Library'
import LibraryHome from '@/components/library/Home'
import LibraryArtist from '@/components/library/Artist'
import LibraryArtists from '@/components/library/Artists'
import LibraryAlbum from '@/components/library/Album'
import LibraryTrack from '@/components/library/Track'
import LibraryImport from '@/components/library/import/Main'
@ -51,6 +52,7 @@ export default new Router({
component: Library,
children: [
{ path: '', component: LibraryHome },
{ path: 'artists/', name: 'library.artists.browse', component: LibraryArtists },
{ path: 'artists/:id', name: 'library.artists.detail', component: LibraryArtist, props: true },
{ path: 'albums/:id', name: 'library.albums.detail', component: LibraryAlbum, props: true },
{ path: 'tracks/:id', name: 'library.tracks.detail', component: LibraryTrack, props: true },