A demo to set up React App with create-react-app, webpack and babel
Example to set up react app with webpack and babel from scratch
git clone https://github.com/imranhsayed/react-app
cd react-app-webpack
npm install
npm run dev
You can run these commands from react-app-webpack
directory.
npm run dev
runs webpack-dev-server for frontend on port 8080 in watch modenpm run prod
runs the build for production.