Skip to content

Commit

Permalink
Automatic font preload links in the head
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin committed Oct 17, 2024
1 parent a93fbc0 commit 680116f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"require": {
"php": "^8.1|^8.2|^8.3",
"blade-ui-kit/blade-heroicons": "^2.4",
"mailerlite/laravel-elasticsearch": "^11.1",
"illuminate/database": "^10.0|^11.0",
"illuminate/events": "^10.0|^11.0",
"illuminate/queue": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"lcobucci/clock": "^2.0|^3.2",
"lcobucci/jwt": "^4.0|^5.3",
"log1x/laravel-webfonts": "^1.0",
"mailerlite/laravel-elasticsearch": "^11.1",
"rapidez/blade-directives": "^0.6",
"tormjens/eventy": "^0.8"
},
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<link rel="canonical" href="@yield('canonical', url()->current())" />

@vite(['resources/css/app.css', 'resources/js/app.js'])
@preloadFonts

@stack('head')
@config('design/head/includes')
Expand Down

0 comments on commit 680116f

Please sign in to comment.