1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-26 14:23:14 +03:00
guide/front/client/store/index.ts

23 lines
422 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-10-28 18:29:54 +03:00
import wiki from 'client/store/modules/wiki'
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,
2018-10-28 18:29:54 +03:00
categoryItem,
wiki
2018-09-13 10:51:20 +03:00
}
})
}
export {
createStore
}