You've already forked Atomcms-edit
fix: register anonymous component path for filament-components view cache
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user