How can Filament access app.js?
I have a Livewire component that uses SortableJS. Now, I want to use this component within my product view resource. I was able to do this, but the JavaScript located in app.js didn't load.
4 Replies
How can I register my Apline plugin, Sir?
They explain here https://filamentphp.com/docs/3.x/support/assets#asynchronous-alpinejs-components
But I've never try so don't know whether it should work or not
this is for components and not plugins
you shouldnt need to import the livewire js, its already on every page
the simplest way to output app.js is with a render hook like