mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Add a note about npm link. See #88.
Former-commit-id: 11c4a9bce02e5f143b09d0edff80362e2e824b10
This commit is contained in:
@@ -162,7 +162,9 @@ Using [npm](http://npmjs.org/):
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install lodash
|
npm install lodash
|
||||||
|
|
||||||
npm install -g lodash
|
npm install -g lodash
|
||||||
|
npm link lodash
|
||||||
```
|
```
|
||||||
|
|
||||||
In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/):
|
In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/):
|
||||||
@@ -171,6 +173,8 @@ In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/):
|
|||||||
var _ = require('lodash');
|
var _ = require('lodash');
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note**: If you install Lo-Dash globally, you'll [need to run `npm link lodash`](http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/) in your project's root directory first.
|
||||||
|
|
||||||
In [RingoJS v0.7.0-](http://ringojs.org/):
|
In [RingoJS v0.7.0-](http://ringojs.org/):
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
Reference in New Issue
Block a user