Permalink
Browse files

Added build instructions for installing the NPM packages for React an…

…d React DOM.
  • Loading branch information...
maratbn committed Jun 27, 2018
1 parent 93e2130 commit 7f2a1a91152e59e6e379aa9d8729d658badc3aa1
Showing with 16 additions and 2 deletions.
  1. +16 −2 BUILD_INSTRUCTIONS
@@ -60,14 +60,28 @@
...


(10) Bundle the JavaScript with Webpack for deployment:
(10) Install the NPM package for React:

$ npm install react

...


(11) Install the NPM package for React DOM:

$ npm install react-dom

...


(12) Bundle the JavaScript with Webpack for deployment:

$ ./node_modules/webpack/bin/webpack.js --config ./webpack.config.js

...


(11) If you want Webpack to auto-re-bundle your JavaScript whenever any of it changes, issue this
(13) If you want Webpack to auto-re-bundle your JavaScript whenever any of it changes, issue this
command instead:

$ ./node_modules/webpack/bin/webpack.js --config ./webpack.config.js --watch

0 comments on commit 7f2a1a9

Please sign in to comment.