Make sure you Be aware that the scripts will probably be operate just once upon the very first render from the component. If you need to operate a JavaScript operate later - emit the party through the element and pay attention to it in JavaScript as described in this article) https://laravel-livewire.com/docs/2.x/inline-scripts