How to customize the dashboard page ?
Hello, I want to customize the dashboard page. I've followed this : https://filamentphp.com/docs/3.x/panels/dashboard#customizing-the-dashboard-page
- I've added Dashboard.php page in app/Filament/Pages
- and removed Dashboard from the configuration file ( ->pages([]))
But it's not working. No dashboard is displayed in the menu and the app automatically redirect me to an other part of my app.
My config file :
https://gist.github.com/sebtrucker/95c350ff7088667ecd7bc63913d0e1b9
What did I miss ?
Solution:Jump to solution
You uncommented
->discoverPages()
either enable that or register your Dashboard manually via ->pages()
7 Replies
Solution
You uncommented
->discoverPages()
either enable that or register your Dashboard manually via ->pages()
How can I register it manually ? I tried
but it's not working
What exactly is not working? Not showing up?
You have a typo in "Filament". Is this the actual code?
It didn't find the file but I found the error. I forgot \ in the path. Thanks for your help !
Shouldn't that result in an error? π€
Yes, it triggered :
Unable to find component: [App\Providers\Filament\App\Filament\Pages\Dashboard]
Please share errors if you get some. It helps debugging the issue π