Include one page on another page and use variables
I've created a Home page using
make:filament-page
and create another filament page called Stats
now I include stats in home like @include('filament.app.pages.stats')
And inside Stats, I define variable
But it shows Undefined variable $recents
Is my approach is wrong way? how to include another filament page inside filament pageSolution:Jump to solution
I don't think you can load a 'Page' inside a 'Page', they would clash. You could load another LW component in your page though.
2 Replies