How can I add a table to a custom page
Hello everyone, I created a custom page by following the documentation which contain instructions on adding actions and widgets to the page, however there doesn't seem to be any guide as to how one could add a table and I really need to add a table to this custom page. Is this not possible?
I've tried to use the method used to add a table to a livewire component, but the page just shows up blank, meanwhile, adding actions and widgets works fine.
Solution:Jump to solution
You have to actually add the livewire component to the blade view for the page. @livewire(‘my-table-component’)
3 Replies
Solution
You have to actually add the livewire component to the blade view for the page. @livewire(‘my-table-component’)
It’s not automatic with custom pages.
This works, but it turns out I forgot to add {{ $this->table }} to the blade view for the page. Thanks a lot.