There was an error while loading. Please reload this page.
1 parent 8d68baf commit efe8f94Copy full SHA for efe8f94
src/main.js
@@ -2,10 +2,12 @@ import "@babel/polyfill";
2
import "mutationobserver-shim";
3
import Vue from "vue";
4
import "./plugins/bootstrap-vue";
5
+import store from "./store/index";
6
import App from "./App.vue";
7
8
Vue.config.productionTip = false;
9
10
new Vue({
11
render: (h) => h(App),
12
+ store: store,
13
}).$mount("#app");
src/store/index.js
@@ -0,0 +1,13 @@
1
+import Vue from "vue";
+import Vuex from "vuex";
+
+Vue.use(Vuex);
+const store = new Vuex.Store({
+ state: {},
+ getters: {},
+ mutations: {},
+ actions: {},
+});
+export default store;
0 commit comments