default panel when deploying to production #11882
peterfoers
started this conversation in
Ideas
Replies: 1 comment
-
When you first install Filament it adds |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When deploying my app with filament admin panel, I received the error
No default Filament panel is set. You may do this with the default() method inside a Filament provider's panel() configuration. Error Type: Filament\Exceptions\NoDefaultPanelSetException
when trying to access/admin
.This was not an issue on local development nor my staging site, so I would have expected it to just display the default dashboard, like it did on these sites.
The solution to the problem was to set
->default(true)
inAdminPanelProvider.php
. I could not find any reference to that in the documentation, nor does the error message point to that. Furthermore, the error message seems to suggest that one is to set an actual default page a la->default('dashboard')
.Suggestions:
true
or create theAdminPanelProvider
withdefault(true)
Beta Was this translation helpful? Give feedback.
All reactions