0👍
Please check if you install Vue properly in Laravel project,
double check it and also check if JS files are loading
0👍
you need to add id app
ex:
<div id="app">
<h1> <ExampleComponent/> </h1>
</div>
or
<div id="app">
<h1> <ExampleComponent></ExampleComponent> </h1>
</div>
- [Vuejs]-Issues with Vue.js Options API when injecting fetched data to other components
- [Vuejs]-How to access the value of a ref in Vue 3?
Source:stackexchange.com