/laravel-inertia-react-preset

A Laravel preset for scaffolding InertiaJS and React (+ tailwind).

Primary LanguageJavaScript

InertiaReact

Installs react, inertiajs and tailwind.

Usage: first install the preset

composer require tortlewortle/laravel-inertia-react-preset

Run the preset:

php artisan preset inertia_react

Install dependencies and compile assets.

npm install && npm run dev

Hot Reloading

npm run hot

Inspired by a similarly named package from ravenberg <3