[Vuejs]-Template not showing in my Laravel 6.6 project with Vue.js

0👍

Try the mix helper function:

<script src="{{ mix('js/app.js') }}"></script>

0👍

I simply reinstall all my Laravel and install Vue.js and don’t move the public folder and all is working fine.

Thank you all!

0👍

when you install the laravel 6, then run this command composer require laravel/ui –dev for integrating all vue js dependencies, then create your component and register that in app.js file like this :

Vue.component(‘teste-food’, require(‘./components/TesteFood.vue’));
and then run npm run dev for compiling once the codes or npm run watch for compiling anythime you add some vue.js file or sass in your porject.
In this steps you should see your component.

Leave a comment