mirror of
https://github.com/zhigang1992/redux.git
synced 2026-04-30 21:32:30 +08:00
Mention that you need NPM to install things from NPM
This commit is contained in:
@@ -48,6 +48,10 @@ npm install --save react-redux
|
||||
npm install --save-dev redux-devtools
|
||||
```
|
||||
|
||||
This assumes that you’re 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 don’t 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 *don’t* 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*.
|
||||
|
||||
Reference in New Issue
Block a user