laravel-pwa
laravel-pwa copied to clipboard
Filamentphp support?
good day, is this package compatible with Filamentphp dashboards? or only blade pages?
you can't use livewire offline as it requires a server request, but as far as other pwa features, they would work. Nothing unique in that way to filament when it comes to PWA support though.
Here is how you integrate it with your filament panel provider as there really isn't a template to drop the blade directive into.
public function panel(Panel $panel): Panel
{
return $panel
...
->renderHook(
PanelsRenderHook::HEAD_END,
function (): string {
return Blade::render('@laravelPWA');
}
)
...
}