fix: register anonymous component path for filament-components view cache

This commit is contained in:
root
2026-05-24 19:29:48 +02:00
parent bf3b474ee1
commit 4e07aa3580
+7 -1
View File
@@ -53,6 +53,12 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot(): void public function boot(): void
{ {
// We registreren de 'views/filament' map.
// Laravel matcht 'filament-components::components.commandocentrum.summary-card' nu correct via de automatische Blade-registratie.
if (is_dir(resource_path('views/filament'))) {
$this->loadViewsFrom(resource_path('views/filament'), 'filament-components');
}
Table::configureUsing(function (Table $table) { Table::configureUsing(function (Table $table) {
$table->paginated([10, 25, 50]); $table->paginated([10, 25, 50]);
}); });
@@ -66,4 +72,4 @@ class AppServiceProvider extends ServiceProvider
WebsiteDrawBadge::observe(WebsiteDrawBadgeObserver::class); WebsiteDrawBadge::observe(WebsiteDrawBadgeObserver::class);
} }
} }