Remember to Notice that your scripts will likely be operate only once on the main render of your element. If you have to operate a JavaScript perform later - emit the celebration in the ingredient and hear it in JavaScript as explained listed here) https://laravel-livewire.com/docs/2.x/inline-scripts