Skip to content

Ultra basic boilerplate for React, react-bootstrap, babel and webpack ready for 2018

Notifications You must be signed in to change notification settings

HydroCarbons/basic-react-boilerplate-2018

Repository files navigation

Ultra basic boilerplate ready for 2018

React + React-Bootrstrap + Babel + WebPack with hot module replacement

I made this boilerplate to quickly get and up running with React programming with a dev and prod build and traspilation pipeline. You can also use react-bootstrap https://react-bootstrap.github.io/ components.

Prepare

  1. NodeJS
    https://nodejs.org/en/download/
  2. Webpack npm install --global webpack
  3. Clone this repository $ https://github.com/HydroCarbons/basic-react-boilerplate-2018.git
  4. Switch to project* cd basic-react-boilerplate-2018
  5. Install Depedencies* npm install

Development Environment

  1. Start
 npm start
  1. App running in your broswer
 http://localhost:8081

Production Environment

  1. Create build
  npm run build
  1. On successful completion, 'dist' folder will be created with app files.
1. bundle.js
2. bundle.js.map
3. <guid>.png << Application Icon
4. index.html 

App

Alt text

Build Pipeline

Build Pipeline

License

This project is licensed under the Apache License 2.0, Copyright (c) 2018 HydroCarbons. For more information see LICENSE.md.