Commit eb9ce69c authored by Sebastien Chopin's avatar Sebastien Chopin

Use correct store declaration

parent 72ba41a7
import Vuex from 'vuex'
import actions from './actions' import actions from './actions'
import mutations from './mutations' import mutations from './mutations'
import getters from './getters' import getters from './getters'
export default { export default () => {
state() { return new Vuex.Store({
return { state: {
activeType: null, activeType: null,
itemsPerPage: 20, itemsPerPage: 20,
items: {/* [id: number]: Item */}, items: {/* [id: number]: Item */},
...@@ -16,9 +18,9 @@ export default { ...@@ -16,9 +18,9 @@ export default {
ask: [], ask: [],
job: [] job: []
} }
}
}, },
actions, actions,
mutations, mutations,
getters getters
})
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment