Skip to content

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

License

Notifications You must be signed in to change notification settings

HydroCarbons/basic-react-router-boilerplate

Repository files navigation

Ultra basic boilerplate ready for 2019

React + React-Bootrstrap + React-rouetr + 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-router-boilerplate.git
  4. Switch to project* cd basic-react-router-boilerplate8
  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) 2019 HydroCarbons. For more information see LICENSE.md.