菜谱项目

app.js 607B

1234567891011121314151617181920212223
  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', require('./components/Example.vue'));
  14. const app = new Vue({
  15. el: '#app'
  16. });