Leverage ReactJS as your view layer within your Laravel application. This is a preset to setup Inertia + React within a fresh Laravel installation. By using this, you get front-end scaffolding including authentication. Tailwind is setup as well.
The benefit of using Inertia is how you are able to use Laravel and all its beloved features while having a modern front-end along with that modern front-end development workflow;
$ npm run hot
A proxy server is started with hot reloading. If you are not using Laravel Valet you may have to change the proxy url within your webpack.mix.js file.
Follow these 3 steps to execute the scaffolding using this preset.
Assuming a fresh laravel installation, run the following command to get started;
$ composer require --dev ravenberg/laravel-inertia-react-preset
Run the actual command
$ php artisan ui:auth inertia-react
Pull in dependencies and run a build
$ npm install && npm run dev
🎉 You're all set. Time to craft your app.