Empty states with CSS and the `:only-child` selector
Here's a quick trick with the :only-child
selector to display an empty state in a list.
thoughts and inspiration on designing, programming, and writing for the web
Here's a quick trick with the :only-child
selector to display an empty state in a list.
An overview on view models in Laravel
How to set up Tailwind CSS in Vite with Laravel.
Laravel 5.6 adds the ability to register alias directives for Blade components. Let's review some background information and examples.
I'm building a multi-tenant Laravel application. One of the requirements of the project is that every client can have their own theme based on their corporate guidelines. By default a few css adjustments will suffice, but some clients request a completely different template.
Conditionally loading a different stylesheet per client is pretty trivial, but in order to use a completely different view per theme you quickly end up typing the same thing over and over across various parts of your application.