app.js 577 B

1234567891011121314151617181920
  1. /**
  2. * First we will load all of this project's JavaScript dependencies which
  3. * include Vue and Vue Resource. This gives a great starting point for
  4. * building robust, powerful web applications using Vue and Laravel.
  5. */
  6. require('./bootstrap');
  7. /**
  8. * Next, we will create a fresh Vue application instance and attach it to
  9. * the body of the page. From here, you may begin adding components to
  10. * the application, or feel free to tweak this setup for your needs.
  11. */
  12. Vue.component('example', require('./components/Example.vue'));
  13. const app = new Vue({
  14. el: 'body'
  15. });