Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("babel-polyfill");
- require('./bootstrap');
- window.Vue = require('vue');
- import Vuetify from 'vuetify';
- import 'vuetify/dist/vuetify.min.css'
- Vue.use(Vuetify);
- /**
- * The following block of code may be used to automatically register your
- * Vue components. It will recursively scan this directory for the Vue
- * components and automatically register them with their "basename".
- *
- * Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
- */
- const files = require.context('./', true, /\.vue$/i)
- files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
- const app = new Vue({
- el: '#app',
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement