1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-26 06:11:33 +03:00
guide/front/client/store/index.ts
2018-09-21 18:09:32 +05:00

21 lines
365 B
TypeScript

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