Skip to content
Install preset react for existed Laravel app
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tasks
README.md
package.json

README.md

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 : preset-react-app
  • Done

How it works

  • This module will auto generate webpack config for Reactjs.
  • Provide script to build, dev.
  • Output will go to public/build directory.
You can’t perform that action at this time.