Now use vuex to manage state for authentication

This commit is contained in:
Eliot Berriot 2017-12-23 17:47:13 +01:00
parent df94ae37bf
commit b5ce65fc3e
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
14 changed files with 137 additions and 179 deletions

View file

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