1. Rui Lopes
  2. webpack-react-template

Overview

HTTPS SSH

This is a bare template for creating a React application with webpack.

It configures webpack to:

Before you start make sure you have Node.js and Java in your $PATH.

Development

Start the development server:

make

Use the application at:

http://localhost:9090

At a later time, you can check which node modules have updates with:

npm outdated

To update to the latest version you'll either need to install with, e.g.:

npm install css-loader@* --save-dev

Or manually edit the package.json file and replace the version number with * and then run:

npm install

Production build

Cut a release with:

make release

You'll find all the files at the out sub-directory.