Laravel - Compiling Assets - Vue
Mix will automatically install the Babel plugins necessary for Vue single-file component compilation support when using the vue
method. No further configuration is required:
mix.js('resources/js/app.js', 'public/js')
.vue();
Once your JavaScript has been compiled, you can reference it in your application: