Everything on Blade.
8 articles tagged Blade, sorted newest first.
Livewire 4 Single-File Components: When to Put PHP and Blade in One File (and When Not To)
Livewire 4 makes view-based components the default, and make:livewire no longer writes to app/Livewire. Here is what actually changed and how to decide between one file and a component directory.
The Long URL That Breaks Your Table: Tailwind v4's wrap-anywhere vs wrap-break-word
Five utilities that sound identical, two CSS properties that are not, and the intrinsic-sizing rule that explains why the old fix stopped working inside a flex container.
Tailwind v4 Logical Properties: Ship RTL Layouts Without a Single rtl: Override
The logical utilities have been in Tailwind all along. Here is the full verified set, the conversion order that doesn't break your layout halfway, and what is still physical in v4.
Manage Laravel AI SDK Prompts as Versioned Blade Templates
Heredoc prompts buried in service classes cannot be diffed, reviewed or rolled back. Here is how I move them into versioned Blade templates that CI can catch.
Tailwind v4 @reference: Fix @apply in Blade & Scoped CSS
Tailwind v4 resolves @apply against the theme in the current file, so a second CSS bundle throws 'unknown utility class'. Here's how @reference fixes it without duplicating output.
Safelist Dynamic Blade Classes in Tailwind v4 with @source inline()
A Blade class like bg-{{ $color }}-500 works locally then disappears in production. Here's the Tailwind v4 fix with @source inline().
Livewire 4 wire:intersect: Infinite Scroll Pagination Without a JS Library
wire:intersect wraps IntersectionObserver so a scroll into view triggers a Livewire action. Here is the cursor-pagination pattern that loads each page exactly once.
Livewire 4 @placeholder: Skeleton Loaders That Match Your Island Layout
Drop a @placeholder block inside a lazy island and your dashboard widgets get a skeleton that matches their layout: no more layout shifts when slow queries finally arrive.