404 on own panel

Hi guys, I'm developing a custom panel for my web application, and I'm encountering a 404 error when trying to access it. I've already dumped Filament::getCurrentPanel() in the booted method of my service provider, and it appears to have the correct data. What could be causing the 404 error?
return $panel
->id('cp')
->path('cp')
->default()
->middleware([
'web',
'core',
])
->authMiddleware([
'auth',
]);
return $panel
->id('cp')
->path('cp')
->default()
->middleware([
'web',
'core',
])
->authMiddleware([
'auth',
]);
No description
3 Replies
LeandroFerreira
LeandroFerreira15mo ago
->login() ?
ngoquocdat
ngoquocdatOP15mo ago
Why need this It must be show the dashboard but it doesn’t, but it shown 404 page
Emmanuel
Emmanuel15mo ago
can you be more precise on what problem you have?
Want results from more Discord servers?
Add your server