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

21 lines
365 B
TypeScript
Raw Normal View History

import Vuex from 'vuex'
2018-09-13 10:51:20 +03:00
import category from 'client/store/modules/category'
2018-09-21 16:09:32 +03:00
import categoryItem from 'client/store/modules/categoryItem'
2018-09-13 10:51:20 +03:00
function createStore() {
// TODO loggins mutations in dev
return new Vuex.Store({
2018-09-13 10:51:20 +03:00
state: {},
actions: {},
mutations: {},
modules: {
2018-09-21 16:09:32 +03:00
category,
categoryItem
2018-09-13 10:51:20 +03:00
}
})
}
export {
createStore
}