Skip to content

Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.

License

Notifications You must be signed in to change notification settings

uzyn/react-webpack-airbnbjs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-webpack-airbnbjs-boilerplate

Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.

What is this

  • Simple index.html loading bundle.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.

Components

  • 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.

How to use

  1. git clone the repository or download a zipped package.

  2. Install dependencies

npm install
  1. 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.

  1. For deployment, run npm build and upload build/ to your server.

Credits

This boilerplate is inspired by jkup/webpack-react-starter.

License

MIT · U-Zyn Chua

About

Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages