From cd71853dadbeb9b7d253dda741afd57334e763c5 Mon Sep 17 00:00:00 2001 From: Andrew Wallo Date: Sat, 18 Mar 2023 05:27:23 -0400 Subject: [PATCH] fix: issue with Filament specific components not defined --- src/FilamentCompaniesServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FilamentCompaniesServiceProvider.php b/src/FilamentCompaniesServiceProvider.php index 6311d92..bada4f3 100644 --- a/src/FilamentCompaniesServiceProvider.php +++ b/src/FilamentCompaniesServiceProvider.php @@ -74,6 +74,10 @@ public function boot(): void $this->loadTranslationsFrom(__DIR__.'/../lang', 'filament-companies'); + foreach ($this->getPages() as $page) { + Livewire::component($page::getName(), $page); + } + Fortify::viewPrefix('filament-companies::auth.'); // $this->configureComponents();