Articles Blade
TAG ARCHIVE

Everything on Blade.

6 articles tagged Blade, sorted newest first.

tailwind

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.

9 min read
laravel

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.

9 min read
tailwind

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.

7 min read
tailwind

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().

6 min read
livewire

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.

9 min read
livewire

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.

9 min read