Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.
- Simple
index.html
loadingbundle.js
. - Starter
index.jsx
for React. - All code following Airbnb's JavaScript (ES6) style guide with ESlint.
- Webpack dev server with automatic reloading. Start with:
npm start
. - Deployment build with
npm run build
.
- Babel for ES6 support
- ESlint for ES6 linting using Airbnb's JS style guide
- Webpack for bundling of JavaScript modules
- React as front-end view library.
-
git clone
the repository or download a zipped package. -
Install dependencies
npm install
- Start the dev server, code and enjoy! Browser should automatically refresh if you make any changes to the code.
npm start
Load http://localhost:8080/ on your web browser.
- For deployment, run
npm build
and uploadbuild/
to your server.
This boilerplate is inspired by jkup/webpack-react-starter.
MIT · U-Zyn Chua