React + react-router code-chunking example
This repository was created to demonstrate a dead simple application that lazy loads views/scripts using the latest React and React-Router. Bundling and chunking gets handled with Webpack and is written using ES6 modules.
The following tools are required to get this running.
Visit here - download and install the latest, stable version.
This will install npm
automatically.
sudo npm install -g webpack
cd
into the root of the project and run this command
$ npm install
$ npm run dev
Open your browser and navigate to localhost:8080