F
Filament3mo ago
Code A

Remove Dashboard Page

How do I remove the default dashboard page from filament and how when login is directed to another route, for example route products? I have deleted or ->pages in AdminPanelProvider but why does the Dashboard Menu still appear
11 Replies
Code A
Code AOP3mo ago
No description
Code A
Code AOP3mo ago
I've followed the instructions you gave but I'm getting an error like this Target [Filament\Http\Responses\Auth\Contracts\LoginResponse] is not instantiable while building [000000000000013e0000000000000000].
Code A
Code AOP3mo ago
Is this how it's implemented?
No description
krekas
krekas3mo ago
why you commented out in the service provider one line?
Code A
Code AOP3mo ago
That's why the error is like this even though the LoginResponse.php location path is correct Target class [App\Http\Responses\LoginResponse] does not exist. You can see the picture above, it is appropriate to place the LoginResponse.php file which is in app/Http/Responses/LoginResponse.php
krekas
krekas3mo ago
Either you haven't created the file or it's in wrong directory or with wrong namespace Or cache issue
Code A
Code AOP3mo ago
ah yes you are right it has worked. for those who delete the default dashboard menu from the filament why is it still there even though I have deleted it
No description
krekas
krekas3mo ago
Again, maybe cache?
Code A
Code AOP3mo ago
yes you are right it turns out the cache in the filament, thank you very much or the help

Did you find this page helpful?