© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
4 replies
CGM

How to add blade directive to filament head

I'm currently installing https://github.com/silviolleite/laravel-pwa into my filament app, and I'm at the step where I need to include the blade directive
@laravelPWA
@laravelPWA
into the
<head>
<head>
of my page.

Here is where I need the directive to go:

<html>
<head>
    <title>My Title</title>
    ...
    @laravelPWA
</head>
<body>
    ...
    My content
    ...
</body>
</html>
<html>
<head>
    <title>My Title</title>
    ...
    @laravelPWA
</head>
<body>
    ...
    My content
    ...
</body>
</html>


How do I get to the Filament header template, or how do I add that directive to the header of the filament template?
GitHub
GitHub - silviolleite/laravel-pwa: Looks like an app, feels like an...
Looks like an app, feels like an app, but IS NOT an app. - silviolleite/laravel-pwa
GitHub - silviolleite/laravel-pwa: Looks like an app, feels like an...
Solution
You can do this with a renderHook
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to add meta information to the head of Filament Pages?
FilamentFFilament / ❓┊help
13mo ago
Customize filament blade
FilamentFFilament / ❓┊help
2y ago
Filament and blade
FilamentFFilament / ❓┊help
2y ago
Filament blade icons
FilamentFFilament / ❓┊help
3y ago