Get record in custom page
I've made a custom view page where i want to display a table.
In v2 i had this code:
and it still work, but i can see it's deprecated.
How would we do it in v3?
2 Replies
Just to make sure I understand - Do you need to access the
$data
variable from your Blade view? What is deprecated exactly?yes that's correct.
I had a deprecated warning in my console earlier. but it seems like it's gone now somehow.
Everything is working correct with the code in the beginning of this convo. π