app.js 626 B

12345678910111213141516171819202122
  1. /**
  2. * First we will load all of this project's JavaScript dependencies which
  3. * includes Vue and other libraries. It is a great starting point when
  4. * building robust, powerful web applications using Vue and Laravel.
  5. */
  6. require('./bootstrap');
  7. window.Vue = require('vue');
  8. /**
  9. * Next, we will create a fresh Vue application instance and attach it to
  10. * the page. Then, you may begin adding components to this application
  11. * or customize the JavaScript scaffolding to fit your unique needs.
  12. */
  13. Vue.component('example-component', require('./components/ExampleComponent.vue'));
  14. const app = new Vue({
  15. el: '#app'
  16. });