This is a starter for a React project. It's as minimal as it gets and uses Webpack and Babel
-
Clone this project
-
Run
npm install
:npm install
-
Run
npm start
:npm start
This will launch a web server with HMR at http://localhost:8080.
-
Your React is at
src/index.js
, edit away :)
If you want a tutorial on how to build this starter, check out this link:
https://github.com/softchris/react-book/blob/master/1-basics/setup.md#do-it-yourself
Also check Robin's tutorial, from which the above tutorial was inspired
https://www.robinwieruch.de/minimal-react-webpack-babel-setup/#react-with-webpack