Now use vuex to manage state for favorites

This commit is contained in:
Eliot Berriot 2017-12-23 21:37:11 +01:00
parent b5ce65fc3e
commit 5d35a3659e
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
7 changed files with 99 additions and 78 deletions

View file

@ -1,6 +1,7 @@
import Vue from 'vue'
import Vuex from 'vuex'
import favorites from './favorites'
import auth from './auth'
import queue from './queue'
import radios from './radios'
@ -11,6 +12,7 @@ Vue.use(Vuex)
export default new Vuex.Store({
modules: {
auth,
favorites,
queue,
radios,
player