27 lines
371 B
JavaScript
27 lines
371 B
JavaScript
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
import mutations from './mutations'
|
|
import actions from './actions'
|
|
import * as getters from './getters'
|
|
|
|
Vue.use(Vuex)
|
|
|
|
const state = {
|
|
loading: false,
|
|
dialog: [],
|
|
user: {
|
|
name: '',
|
|
type: ''
|
|
},
|
|
twitch: {
|
|
channels: []
|
|
}
|
|
}
|
|
|
|
export default new Vuex.Store({
|
|
state,
|
|
mutations,
|
|
getters,
|
|
actions
|
|
})
|