The Setup for Vue in Laravel The first starting point is to to have file, lets call it resources/assets/js/app.js where you load your Vue application. It could look like this: import Vue from 'vue' import DragNDrop from './components/UploadDragnDrop.vue';
import Trombowyg from './components/Trombowyg.vue'; Vue.component('nie-upload', DragNDrop);
Vue.component('nie-table', Trombowyg); const app = new Vue({
el: '#main-content',
});