Filament V3 and Livewire V3 scripts
After a followed the upgrade guide for livewire i moved to the upgrade guide of filament.
The Livewire guide told me that i can use the app.js like:
Then all i need to do in the base layout is to replace the
Then in the filament upgrade guide they say
The styles i have replaced the and removed from
from the
Now i am puzzeled since witch to use since adding both (
So i removed almost everything related to livewire and alpine from the the
Is this how it should be ?
Won't i be missing some scripts that Livewire uses or everything will be loaded by the
What if i want to add a Alpine plugin how should i do that ?
The Livewire guide told me that i can use the app.js like:
Then all i need to do in the base layout is to replace the
@livewireScripts with @livewireScriptConfigThen in the filament upgrade guide they say
The styles i have replaced the and removed from
app.css but the JS scripts are a little different..... since they say that i don't need the importsfrom the
app.js and they are loaded in the @filamentScriptsNow i am puzzeled since witch to use since adding both (
@filamentScripts and @@livewireScriptConfig) at the end of the layout results into multiple alpine livewire starts warnings and errors.So i removed almost everything related to livewire and alpine from the the
app.js and replaced the new @livewireScriptConfig with @filamentScriptsIs this how it should be ?
Won't i be missing some scripts that Livewire uses or everything will be loaded by the
@filamentScripts ? What if i want to add a Alpine plugin how should i do that ?