Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import VueAxios from 'vue-axios';
- import axios from 'axios';
- require('./bootstrap');
- window.Vue = require('vue');
- Vue.use(VueAxios, axios);
- const eventBus = new Vue() ;
- Vue.mixin({
- data: function () {
- return {
- eventBus: eventBus
- }
- }
- });
- Vue.component('coin-add-component', require('./components/AddComponent'));
- Vue.component('coin-get-component', require('./components/GetComponent'));
- const app = new Vue({
- el: '#app'
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement