mirror of
https://github.com/aelve/guide.git
synced 2024-12-26 06:11:33 +03:00
21 lines
365 B
TypeScript
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
|
|
}
|