-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from aiselp/main
添加lodash说明文档
- Loading branch information
Showing
4 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Lodash | ||
v6.5.2新增 | ||
> <font color="#FF34FF17">稳定性: 稳定</font> | ||
Lodash 是一个一致性、模块化、高性能的 JavaScript 实用工具库,使用方法请参阅[中文文档](https://www.lodashjs.com/),该模块不会自动加载,请使用以下方法导入 | ||
```js | ||
// Load the full build. | ||
var _ = require('lodash'); | ||
// Load the core build. | ||
var _ = require('lodash/core'); | ||
// Load the FP build for immutable auto-curried iteratee-first data-last methods. | ||
var fp = require('lodash/fp'); | ||
|
||
// Load method categories. | ||
var array = require('lodash/array'); | ||
var object = require('lodash/fp/object'); | ||
|
||
// Cherry-pick methods for smaller browserify/rollup/webpack bundles. | ||
var at = require('lodash/at'); | ||
var curryN = require('lodash/fp/curryN'); | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.