Laravel Blade & View Models
An overview on view models in Laravel
Seb De Deyne
An overview on view models in Laravel
#laravel #vite #frontend #build-tools #blade
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.