add spotlight
This commit is contained in:
1 parent
c7ceaf6556
commit
651b730233
7 files changed
+154
-3
No files matched your search
@@ -16,6 +16,7 @@
|
||||
use Illuminate\Session\Middleware\AuthenticateSession;
|
||||
use Illuminate\Session\Middleware\StartSession;
|
||||
use Illuminate\View\Middleware\ShareErrorsFromSession;
|
||||
use pxlrbt\FilamentSpotlight\SpotlightPlugin;
|
||||
|
||||
class AdminPanelProvider extends PanelProvider
|
||||
{
|
||||
@@ -51,6 +52,9 @@ public function panel(Panel $panel): Panel
|
||||
->spa()
|
||||
->authMiddleware([
|
||||
Authenticate::class,
|
||||
])
|
||||
->plugins([
|
||||
SpotlightPlugin::make(),
|
||||
]);
|
||||
|
||||
return $panel;
|
||||
|
||||
Reference in new issue
Block a user