how pass alpine.js parameter to livewire function code example
Example: passing livewire variable in alpine js
You can share data between livewire and apline js using : @entangle
class Counter extends Component
{
public $showDropdown = false;
}
<div x-data="{ open: @entangle('showDropdown') }">