@@ -2,6 +2,7 @@ import Vue from 'vue'
import Vuex from 'vuex'
import index from './modules/index'
+import thread from './modules/thread'
Vue.use(Vuex)
@@ -51,6 +52,7 @@ export default new Vuex.Store({
}
},
modules: {
- index
+ index,
+ thread
})
@@ -0,0 +1,14 @@
+const state = {}
+
+const getters = {}
+const actions = {}
+const mutations = {}
+export default {
+ state,
+ getters,
+ actions,
+ mutations
+}