1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-25 22:02:58 +03:00
guide/front/client/store/index.ts
2018-10-28 18:29:54 +03:00

23 lines
422 B
TypeScript

import Vuex from 'vuex'
import category from 'client/store/modules/category'
import categoryItem from 'client/store/modules/categoryItem'
import wiki from 'client/store/modules/wiki'
function createStore() {
// TODO loggins mutations in dev
return new Vuex.Store({
state: {},
actions: {},
mutations: {},
modules: {
category,
categoryItem,
wiki
}
})
}
export {
createStore
}