Cambio de orden
This commit is contained in:
parent
0207fca0cc
commit
cee049c545
1 changed files with 6 additions and 5 deletions
11
resources/js/app.js
vendored
11
resources/js/app.js
vendored
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue