laracasts-livewire-datatable icon indicating copy to clipboard operation
laracasts-livewire-datatable copied to clipboard

When Vue Is defined as global

Open abakanindex opened this issue 5 years ago • 1 comments

Hi Caleb, I liked very much this Livewire. I facing some issue. What I did: I install fresh laravel(6) and install package successfully. I have installed laravel/ui vue. in the file resources/js/app.js we have peace of code which says ` /**

  • Next, we will create a fresh Vue application instance and attach it to
  • the page. Then, you may begin adding components to this application
  • or customize the JavaScript scaffolding to fit your unique needs. */

const app = new Vue({ el: '#app', });`

Iivewire is not firing any event, not working if it is inside Vue "owned" div element. Maybe I am doing wrong putting inside the Vue

abakanindex avatar Dec 09 '19 07:12 abakanindex

Yeah, mixing Livewire and Vue will cause some issues, but it actually should work with that.

If you could, publish a laravel project re-creating your issue, and submit and issue to the livewire repo (https://github.com/calebporzio/livewire) - thanks!

calebporzio avatar Dec 12 '19 10:12 calebporzio