Make sure you Observe that the scripts will probably be run only once upon the initial render on the part. If you'll want to operate a JavaScript operate later - emit the event from the ingredient and hear it in JavaScript as described here) https://laravel-livewire.com/docs/2.x/inline-scripts