Files
CensoFront/censo_front/src/main.js
T

39 lines
717 B
JavaScript
Raw Normal View History

2020-12-30 04:34:45 -06:00
import Vue from "vue";
import App from "./App.vue";
import "bootstrap";
import "bootstrap/dist/css/bootstrap.min.css";
2021-01-25 22:22:35 -06:00
import Vuex from 'vuex';
2020-12-30 04:34:45 -06:00
import VueRouter from "vue-router";
import { routes } from "./routes";
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
Vue.config.productionTip = false;
Vue.use(VueRouter);
2021-01-25 22:22:35 -06:00
Vue.use(Vuex)
2020-12-30 04:34:45 -06:00
Vue.use(BootstrapVue);
Vue.use(IconsPlugin);
const router = new VueRouter({
routes
});
2021-01-25 22:22:35 -06:00
const store = new Vuex.Store({
state: {
campoValue: "",
},
mutations: {
cleanModalActualizar (state, value) {
state.campoValue = value;
console.log(state, value);
}
}
})
2020-12-30 04:34:45 -06:00
new Vue({
el: "#app",
render: h => h(App),
2021-01-25 22:22:35 -06:00
router,
store: store,
2020-12-30 04:34:45 -06:00
});