Advertisement
Guest User

app.js

a guest
Jul 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1.  
  2. /**
  3. * First we will load all of this project's JavaScript dependencies which
  4. * includes Vue and other libraries. It is a great starting point when
  5. * building robust, powerful web applications using Vue and Laravel.
  6. */
  7.  
  8. require('./bootstrap');
  9.  
  10. window.Vue = require('vue');
  11.  
  12. /**
  13. * Next, we will create a fresh Vue application instance and attach it to
  14. * the page. Then, you may begin adding components to this application
  15. * or customize the JavaScript scaffolding to fit your unique needs.
  16. */
  17.  
  18. //Vue.component('posts', require('./components/posts.vue'));
  19. //Vue.component('navbar', require('./components/navbar.vue'));
  20.  
  21.  
  22. const app = new Vue({
  23. el: '#app',
  24. components: {
  25. 'posts': require('./components/posts.vue'),
  26. 'navbar': require('./components/navbar.vue'),
  27. 'passport-clients': require('./components/passport/Clients.vue'),
  28. 'passport-authorized-clients': require('./components/passport/AuthorizedClients.vue'),
  29. 'passport-personal-access-tokens': require('./components/passport/PersonalAccessTokens.vue')
  30. }
  31. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement