Hi! I am trying to embed a Livewire component in a website that is already using Livewire/Alpine, and I’m encountering the following errors in the browser console:
Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'onload')
at waitForLivewireAndStart (wire-extender.js:64:27)
at wire-extender.js:103:13
livewire.esm.js:4999 Uncaught (in promise) TypeError: Cannot redefine property: $persist
at Function.defineProperty (<anonymous>)
at src_default (livewire.esm.js:4999:14)
at livewire.esm.js:2766:32
at Array.forEach (<anonymous>)
at Object.plugin (livewire.esm.js:2766:17)
at Object.start (livewire.esm.js:9537:28)
at startLivewire (wire-extender.js:78:14)
I am wondering if it is possible to embed a Livewire component in a website that already uses Livewire, or if this setup creates conflicts.
Hi! I am trying to embed a Livewire component in a website that is already using Livewire/Alpine, and I’m encountering the following errors in the browser console:
I am wondering if it is possible to embed a Livewire component in a website that already uses Livewire, or if this setup creates conflicts.
Thank you!