summaryrefslogtreecommitdiff
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
parent9486f7fda828cc668b592bae31aea1d88f3192c6 (diff)
conf: move router and store folders
-rw-r--r--src/main.js4
-rw-r--r--src/router.js (renamed from src/router/index.js)0
-rw-r--r--src/store.js (renamed from src/store/index.js)2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/main.js b/src/main.js
index 1329a63..838c5f3 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,7 +1,7 @@
import Vue from 'vue';
import App from './App.vue';
-import router from './router';
-import store from './store';
+import router from '@/router.js';
+import store from '@/store.js';
import { BootstrapVue } from 'bootstrap-vue';
diff --git a/src/router/index.js b/src/router.js
index 5dc4e51..5dc4e51 100644
--- a/src/router/index.js
+++ b/src/router.js
diff --git a/src/store/index.js b/src/store.js
index 332b916..0e96ac7 100644
--- a/src/store/index.js
+++ b/src/store.js
@@ -5,6 +5,8 @@ Vue.use(Vuex)
export default new Vuex.Store({
state: {
+ api: process.env.VUE_APP_BACKEND_URL,
+ commits: [],
},
mutations: {
},