From 7c5d3269b3067e39e698e30b987600890d515c70 Mon Sep 17 00:00:00 2001 From: awcodes Date: Thu, 16 Mar 2023 09:07:53 -0400 Subject: [PATCH] Fix: missing livewire registration for custom dashboard implementation --- src/OverlookServiceProvider.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/OverlookServiceProvider.php b/src/OverlookServiceProvider.php index 967602e..fbbf272 100644 --- a/src/OverlookServiceProvider.php +++ b/src/OverlookServiceProvider.php @@ -4,6 +4,7 @@ use Composer\InstalledVersions; use Filament\PluginServiceProvider; +use Livewire\Livewire; use Spatie\LaravelPackageTools\Package; class OverlookServiceProvider extends PluginServiceProvider @@ -30,4 +31,9 @@ protected function getStyles(): array 'plugin-overlook-' . static::$version => __DIR__ . '/../resources/dist/overlook.css' ]; } + + public function packageBooted(): void + { + Livewire::component('overlook-widget', Overlook::class); + } }