Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import VueAxios from 'vue-axios';
  2. import axios from 'axios';
  3.  
  4. require('./bootstrap');
  5. window.Vue = require('vue');
  6.  
  7. Vue.use(VueAxios, axios);
  8.  
  9. const eventBus = new Vue() ;
  10. Vue.mixin({
  11.     data: function () {
  12.         return {
  13.  
  14.             eventBus: eventBus
  15.         }
  16.     }
  17. });
  18.  
  19. Vue.component('coin-add-component', require('./components/AddComponent'));
  20. Vue.component('coin-get-component', require('./components/GetComponent'));
  21.  
  22. const app = new Vue({
  23.     el: '#app'
  24.  
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement