Tonkawuck
Add Alpine Collapse plugin to dashboard
I've tried a few methods of adding the script tag for enabling the collapse alpine plugin (https://alpinejs.dev/plugins/collapse). I ended up using a render hook provider, and the
PanelsRenderHook::SCRIPTS_BEFORE
tag to ensure that the plugin script I added was before the alpine js script tag that filament loads. However, it seems that the alpine js filament is using is not compatible with this plugin?
Any way to do this nicely?
Thanks5 replies
White / empty dashboard on load. `window.Alpine` is undefined
I am having some trouble with a Filament v3 panel not loading. It seems that window.Alpine is
undefined
so that may be the cause?
I can see that all of filament/alpine-support.js, filament/support.js and livewire/livewire.js have loaded. Perhaps my dashboard layout is out of date? Thanks4 replies