Install and config
Install preset react for existed Laravel app
- Run command to install :
npm install -g laravel-preset-react-app
- After that, go to your current Laravel project directory
- Check if there is no package.json, then create file package.json in Laravel project directory.
- Run command :
How it works
- This module will auto generate webpack config for Reactjs.
- Provide script to build, dev.
- Output will go to public/build directory.