1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { createStore, createLogger } from 'vuex'
- import * as getters from './getters'
- import * as actions from './actions'
- import mutations from './mutations'
- const state = {
- currentThreadID: null,
- threads: {
-
- },
- messages: {
-
- }
- }
- export default createStore({
- state,
- getters,
- actions,
- mutations,
- plugins: process.env.NODE_ENV !== 'production'
- ? [createLogger()]
- : []
- })
|