What seems to be the problem:
I try to have wire:click
do two things:
- Call doSomething()
- and emit the event ‘event’
Steps to Reproduce:
Well, implement something like:
wire:click="addToCart(); $emit('updateCartCount')"
Are you using the latest version of Livewire:
Yes
When I try to do it that way, I get errors in the console.