summaryrefslogtreecommitdiff
path: root/src/store.js
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-19 15:13:27 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-19 15:13:27 +0100
commita686db800f50db4f6585fcdf1110873f577bfaeb (patch)
tree589250030f6363b121574e43124426f74a3ff885 /src/store.js
parent9486f7fda828cc668b592bae31aea1d88f3192c6 (diff)
conf: move router and store folders
Diffstat (limited to 'src/store.js')
-rw-r--r--src/store.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/store.js b/src/store.js
new file mode 100644
index 0000000..0e96ac7
--- /dev/null
+++ b/src/store.js
@@ -0,0 +1,17 @@
+import Vue from 'vue'
+import Vuex from 'vuex'
+
+Vue.use(Vuex)
+
+export default new Vuex.Store({
+ state: {
+ api: process.env.VUE_APP_BACKEND_URL,
+ commits: [],
+ },
+ mutations: {
+ },
+ actions: {
+ },
+ modules: {
+ }
+})