funcion/actualizaciones #48

Open
atasistro wants to merge 47 commits from funcion/actualizaciones into master
Showing only changes of commit cee049c545 - Show all commits

11
resources/js/app.js vendored
View file

@ -3,11 +3,7 @@ import Vue from '../../node_modules/vue/dist/vue.esm.js';
import axios from 'axios';
import store from "./store";
window.Vue = Vue;
window.Event = new Vue();
window.axios = axios;
window.bulmaToast = bulmaToast;
// Registro de components
const components = import.meta.glob('./components/**/*.vue', { eager: true });
Object.entries(components).forEach(([path, module]) => {
let name = path
@ -19,6 +15,11 @@ Object.entries(components).forEach(([path, module]) => {
Vue.component(name, module.default);
});
window.Vue = Vue;
window.Event = new Vue();
window.axios = axios;
window.bulmaToast = bulmaToast;
new Vue({
el: '#root',
store,