You should note that the scripts is going to be run just once on the primary render from the ingredient. 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