Found out the hard way that if you need to compile the Livewire assets separately (ie. to add an Alpine plugin) there is one additional step required.
I had assumed that by using the {{ livewire:scriptConfig }} tag the livewire forms script would be included. However that appears to only set up some preliminary config variables.
I was able to get the forms working again by adding the following to by site.js:
Found out the hard way that if you need to compile the Livewire assets separately (ie. to add an Alpine plugin) there is one additional step required.
I had assumed that by using the
{{ livewire:scriptConfig }}
tag the livewire forms script would be included. However that appears to only set up some preliminary config variables.I was able to get the forms working again by adding the following to by
site.js
: