Refactoring Shared Layouts for Laravel Components
Have you ever struggled with seemingly minor updates breaking your build process? A recent issue in the Reimpact/platform project highlighted the importance of directory structure when using Laravel's Blade components.
The Problem
The project uses shared layouts extensively. The goal was to leverage anonymous Blade components using the <x-shared::templates.module.view> syntax.