I am working on a project using Laravel with Metronic 8, where I want to incorporate the file management module. I’ve set up a DataTable using Yajra DataTables and now need to integrate the file manager component from the Metronic theme with Livewire. However, I'm facing an issue where I can't access the Livewire instance within a JavaScript file. Could someone guide me on how to inject the Livewire instance into a JavaScript file?
Hi muhammad tayyab,
If you use Metronic Laravel, Livewire and Yajra Datatable are already integrated. Could you please clarify the issue with the code you are using?
Thanks