Mention that you need NPM to install things from NPM

This commit is contained in:
Dan Abramov
2015-08-26 19:45:35 +03:00
parent 163e7fa4e5
commit 6a4d9f0b05

View File

@@ -48,6 +48,10 @@ npm install --save react-redux
npm install --save-dev redux-devtools
```
This assumes that youre using [npm](http://npmjs.com/) package manager with a module bundler like [Webpack](http://webpack.github.io) or [Browserify](http://browserify.org/) to consume [CommonJS modules](http://webpack.github.io/docs/commonjs.html).
If you dont yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `Redux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/redux). We *dont* recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).
### The Gist
The whole state of your app is stored in an object tree inside a single *store*.