mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 04:39:57 +02:00
Now use vuex to manage state for player/queue/radios
This commit is contained in:
parent
254996453f
commit
df94ae37bf
16 changed files with 563 additions and 694 deletions
16
front/src/store/index.js
Normal file
16
front/src/store/index.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
import queue from './queue'
|
||||
import radios from './radios'
|
||||
import player from './player'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
export default new Vuex.Store({
|
||||
modules: {
|
||||
queue,
|
||||
radios,
|
||||
player
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue