mirror of https://github.com/Kylart/KawAnime.git
19 lines
308 B
JavaScript
19 lines
308 B
JavaScript
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
|
|
import state from './state'
|
|
import mutations from './mutations'
|
|
import actions from './actions'
|
|
import getters from './getters'
|
|
|
|
Vue.use(Vuex)
|
|
|
|
export function createStore () {
|
|
return new Vuex.Store({
|
|
state,
|
|
actions,
|
|
mutations,
|
|
getters
|
|
})
|
|
}
|