big ass front end cleanup
This commit is contained in:
parent
6924c76f4c
commit
5322c99183
29 changed files with 4787 additions and 4562 deletions
20
src/renderer/main/vuex-store.js
Normal file
20
src/renderer/main/vuex-store.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
const store = new Vuex.Store({
|
||||
state: {
|
||||
library: {
|
||||
// songs: ipcRenderer.sendSync("get-library-songs"),
|
||||
// albums: ipcRenderer.sendSync("get-library-albums"),
|
||||
// recentlyAdded: ipcRenderer.sendSync("get-library-recentlyAdded"),
|
||||
// playlists: ipcRenderer.sendSync("get-library-playlists")
|
||||
},
|
||||
artwork: {
|
||||
playerLCD: ""
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
setLCDArtwork(state, artwork) {
|
||||
state.artwork.playerLCD = artwork
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
export {store}
|
Loading…
Add table
Add a link
Reference in a new issue