I get Class "App\Filament\Pages\Dashboard" not found after removing Dashboard on Production
I wanted to create a custom dashboard instead of the default panel dashboard. I named my custom dashboard class something other than
Dashboard
, which I had no issues with when developing locally. Then when pushing my changes to Production (Staging environment), I get the Class "App\Filament\Pages\Dashboard" not found
error.
Has anyone else experienced something similar? It is very strange that I get the error on production but not locally.5 Replies
did you set it on the panel provider
->pages()
also looks like file came case sensitive between linux and windows or mac!No I removed everything from ->pages([]) on the panel provider.
I think filament need a default page to land on it π
try add the new dashboard you made in
->pages()
Thanks! I will try that next time I push to production. But strange that filament doesn't need this on my local environment.
it could be cached on local?