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
->login() ?
ngoquocdat
ngoquocdatOP2y ago
Why need this It must be show the dashboard but it doesn’t, but it shown 404 page
Emmanuel
Emmanuel2y ago
can you be more precise on what problem you have?

Did you find this page helpful?