Vite with Laravel: Using Vue.js
To transpile Vue single-file components, install @vitejs/plugin-vue. If you are using Vue 2, install vite-plugin-vue2 instead. { "private": true, "scripts": { "dev": "vite",...
Mar 22nd 2021 sebastiandedeyne.com

Vite with Laravel: Using Tailwind CSS
Vite includes PostCSS support, so adding Tailwind doesn’t require too much configuration. First, install Tailwind and its peer dependencies postcss and autoprefixer. { "private": true,...
Mar 22nd 2021 sebastiandedeyne.com

Vite with Laravel: Auto-refresh Blade views
We’re up and running, but there’s another Laravel-specific quality of life improvement we can make: auto-refreshing when a Blade file changes. To do this, we’ll write a simple Blade plugin...
Mar 22nd 2021 sebastiandedeyne.com

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...
Mar 22nd 2021 sebastiandedeyne.com

A better way to reference things in your application
We, as programmers, use id's continuously throughout our day and probably would be lost without them. An id can be a simple integer that increases when a new record is...
Mar 12th 2021 rubenvanassche.com

How to do a case sensitive file rename in git on macOS
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...
Mar 11th 2021 sebastiandedeyne.com

How to do a case sensitive file rename in git on macOS
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...
Mar 11th 2021 sebastiandedeyne.com

Execute Artisan commands on remote servers
Using the newly released spatie/laravel-remote package, you can quickly execute Artisan commands on a remote server. Here's an example that will clear the cache on the remote server.
Mar 10th 2021 freek.dev

Building a Laravel package from scratch
In this streaming session, you can see me build up the package from scratch. You can find the code seen...
Mar 10th 2021 freek.dev

Introducing monthly playlists from team Spatie
At Spatie, each one of our team members loves music. Scattered across our office are a couple of HomePods. Everyone in our team is free to stream his favourite...
Mar 10th 2021 freek.dev