You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
|
|
|
|
Vue.use(Vuex)
|
|
|
|
|
|
const state = {
|
|
files: [],
|
|
}
|
|
|
|
const mutations = {
|
|
updateFiles(state, files) {
|
|
state.files = files
|
|
}
|
|
}
|
|
export default new Vuex.Store({
|
|
strict: true,
|
|
state,
|
|
mutations
|
|
})
|