Using @filamentScripts instead of @livewireScripts doesnt work on 404
In my app.blade.php layout file i have
@filamentScripts
@filamentScripts
because i use some livewire components with form through my app. This all works fine.
I can use alpine anywhere, works fine. Except, on my custom 404 page. my custom 404 page uses the same layout file, but alpine doesnt work on this page. When i switch @FilamentScripts to @livewireScripts, it does work! But that brings new issues on the pages with filament components.
Anyone encountered this before and know how to fix?