Adding a table to a Livewire component
I followed the steps that are in https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component to create a filement table inside a livewire component. I tried both ways, from terminal with livewire:make and making a route in web.php. When i render the page it seems like the javascript and css is not working (wire:click does not make request to server). I don't get any errors in the console and nothing is being done in the network tab. This is what is shown in the view
Is there any way to fix this?
Solution:Jump to solution
ok, but you should also import
filamentStyles
and filamentScripts
in the layout..4 Replies
I have already done
Because i already have an admin panel for my project and i wanted to add a table to the front.
Solution
ok, but you should also import
filamentStyles
and filamentScripts
in the layout..Perfect i needed to add them to the app layout and also to do this
and
Thank you