#laravel #vite #frontend #build-tools #inertia.js

Vite with Laravel: Using Inertia.js

How to set up Inertia.js in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools #typescript

Vite with Laravel: Using TypeScript

How to set up TypeScript in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools #react

Vite with Laravel: Using React

How to set up React in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools #vue

Vite with Laravel: Using Vue.js

How to set up Vue.js in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools #tailwind

Vite with Laravel: Using Tailwind CSS

How to set up Tailwind CSS in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools #blade

Vite with Laravel: Auto-refresh Blade views

How to set up Tailwind CSS in Vite with Laravel.

Read more


#laravel #vite #frontend #build-tools

Vite with Laravel

I’ve had an eye on Vite for a while. With a stable release out the door (2.0, as 1.0 never left the release candidate stage) it seemed like a good time to give it a shot.

Vite is a frontend build tool like webpack. Instead of bundling development assets, Vite serves native ES modules transpiled with esbuild from the dev server. This means there’s a lot less bundling to do, and results in a very fast developer experience. For production builds, Vite uses Rollup to bundle the assets.

Read more


#spatie #laravel #php #javascript

The revamped Spatie guidelines

I created the original Spatie guidelines site three years ago. Last month, we consolidated a few of our subsites to our main spatie.be site, including the guidelines.

Read more


#laravel #typescript #inertia

Laravel Typescript Transformer

My colleague Ruben released a new Spatie package to generate type declarations in TypeScript from a Laravel application.

Read more


#laravel

Middleware as a Laravel service provider

When you need to set up a service in a Laravel app, service providers are generally the place to be. But, there’s one problem with service providers: they’re global. This usually doesn’t matter, but in multi-section apps this can be problematic.

Read more