0👍
Try the mix
helper function:
<script src="{{ mix('js/app.js') }}"></script>
- [Vuejs]-Line chart not rendering data
- [Vuejs]-Vue-js click outside function also works inside of my element- how to fix
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.
Source:stackexchange.com