Vite with Laravel: Using Inertia.js
∙ 1 min. read ∙ #laravel #vite #frontend #buildtools #inertia.js
How to set up Inertia.js in Vite with Laravel.
Sebastian De Deyne
∙ 1 min. read
∙
#laravel
#vite
#frontend
#buildtools
#inertia.js How to set up Inertia.js in Vite with Laravel.
∙ 1 min. read
∙
#laravel
#vite
#frontend
#buildtools
#typescript How to set up TypeScript in Vite with Laravel. How to set up React in Vite with Laravel. How to set up Vue.js in Vite with Laravel.
∙ 1 min. read
∙
#laravel
#vite
#frontend
#buildtools
#tailwind How to set up Tailwind CSS in Vite with Laravel. How to set up Tailwind CSS in 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. Mac is case insensitive, Linux isn’t. This has caused me trouble in the past after deploying my code to an Ubuntu server. If you rename a file on Mac, git won’t pick up any changes if you only change the case. Henrik Nyh suggests to make comments more resilient to change with double-entry bookkeeping. Whether the discrepancy is caught immediately by the author, or in review, or by another developer far down the line, it will be explicitly clear that the comment was not intended for the current value. This lowers the odds that a comment will get out of sync, especially useful in configuration files. For more context head to Henrik’s blog, The Pug Automatic. When I set up a new Mac, there are a few things that make it immediately feel “off” to me. These are the small System Preferences tweaks I make that my muscle memory relies on.Vite with Laravel: Using Inertia.js
Vite with Laravel: Using TypeScript
Vite with Laravel: Using React
Vite with Laravel: Using Vue.js
Vite with Laravel: Using Tailwind CSS
Vite with Laravel: Auto-refresh Blade views
Vite with Laravel
How to do a case sensitive file rename in git on macOS
Self-deprecating comments
- $timeoutMs = 1000; // Equals 1 second
+ $timeoutMs = 1000; // 1000ms equals 1 second
macOS settings I always customize