summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/badges/store/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/badges/store/index.js')
-rw-r--r--app/assets/javascripts/badges/store/index.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/badges/store/index.js b/app/assets/javascripts/badges/store/index.js
new file mode 100644
index 00000000000..7a5df403a0e
--- /dev/null
+++ b/app/assets/javascripts/badges/store/index.js
@@ -0,0 +1,13 @@
+import Vue from 'vue';
+import Vuex from 'vuex';
+import createState from './state';
+import actions from './actions';
+import mutations from './mutations';
+
+Vue.use(Vuex);
+
+export default new Vuex.Store({
+ state: createState(),
+ actions,
+ mutations,
+});