Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. require("babel-polyfill");
  2.  
  3. require('./bootstrap');
  4.  
  5. window.Vue = require('vue');
  6.  
  7. import Vuetify from 'vuetify';
  8. import 'vuetify/dist/vuetify.min.css'
  9.  
  10. Vue.use(Vuetify);
  11.  
  12. /**
  13. * The following block of code may be used to automatically register your
  14. * Vue components. It will recursively scan this directory for the Vue
  15. * components and automatically register them with their "basename".
  16. *
  17. * Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
  18. */
  19.  
  20. const files = require.context('./', true, /\.vue$/i)
  21. files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
  22.  
  23.  
  24. const app = new Vue({
  25. el: '#app',
  26. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement