Skip to content

Commit

Permalink
Added build instructions for installing the NPM packages for React an…
Browse files Browse the repository at this point in the history
…d React DOM.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 93e2130 commit 7f2a1a9
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions BUILD_INSTRUCTIONS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f2a1a9

Please sign in to comment.