agregar a pruebas

This commit is contained in:
2021-01-25 22:22:35 -06:00
parent ca7550bf79
commit c32cd5532b
12 changed files with 428 additions and 120 deletions
+17 -2
View File
@@ -2,6 +2,7 @@ import Vue from "vue";
import App from "./App.vue";
import "bootstrap";
import "bootstrap/dist/css/bootstrap.min.css";
import Vuex from 'vuex';
import VueRouter from "vue-router";
import { routes } from "./routes";
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
@@ -9,15 +10,29 @@ import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
Vue.config.productionTip = false;
Vue.use(VueRouter);
Vue.use(Vuex)
Vue.use(BootstrapVue);
Vue.use(IconsPlugin);
const router = new VueRouter({
routes
});
const store = new Vuex.Store({
state: {
campoValue: "",
},
mutations: {
cleanModalActualizar (state, value) {
state.campoValue = value;
console.log(state, value);
}
}
})
new Vue({
el: "#app",
render: h => h(App),
router
router,
store: store,
});