npm run watch and Tailwind Classes

IMPORTANT UPDATE: since Laravel 9.19 in July 2022, the React + Laravel installation from this video would not work exactly the same.

Laravel has changed the asset bundling tool from Laravel Mix to Vite.

I decided not to re-shoot the full course because of that change, it would be a huge task.

Instead, I wrote a free detailed step-by-step article on how to install React into Laravel now.

Please read that article for the installation, and then you can proceed with the next lesson about JSX.

The alternative option is to revert from the now-default Vite, back to Laravel Mix, manually, and then proceed with this course from the first lesson.

Also, I have a "general" video on my Youtube channel: Laravel 9.19: From Mix to Vite - What You Need To Know

If you have any questions about this, please comment on this lesson or email me personally [email protected]

Complete and Continue  
Discussion

0 comments