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:
You have to actually add the livewire component to the blade view for the page. @livewire(‘my-table-component’)
Jump to solution
3 Replies
Solution
awcodes
awcodes14mo ago
You have to actually add the livewire component to the blade view for the page. @livewire(‘my-table-component’)
awcodes
awcodes14mo ago
It’s not automatic with custom pages.
calmjohnson
calmjohnsonOP14mo ago
This works, but it turns out I forgot to add {{ $this->table }} to the blade view for the page. Thanks a lot.
Want results from more Discord servers?
Add your server