Remember to Take note that the scripts will likely be operate only once on the primary render from the part. If you should operate a JavaScript perform afterwards - emit the occasion with the component and hear it in JavaScript as described listed here) https://laravel-livewire.com/docs/2.x/inline-scripts