A reusable Blade component that gets rendered 12 times on a page should not inject its <script> tag 12 times. Here is the directive that fixes it.
#Blade
Articles
A new @fonts Blade directive backed by a Vite font runtime lands in Laravel 13.x, handling preload tags, @font-face rules, and CSP nonces for you.
Blade components are more powerful than most developers realize. These tricks cover attribute bags, named slots, props, and conditional rendering you will use daily.