0.4.0 • Published 4 years ago
@comall/miniprogram-lodash-polyfill v0.4.0
miniprogram-lodash-polyfill
小程序版 lodash-polyfill
安装
首先,你需要先安装
npm install @comall/miniprogram-lodash-polyfil --save说明
使用场景是解决 taro 项目中使用 lodash/lodash-es 报错问题。
在使用 lodash/lodash-es 之前引用,
import "@comall/miniprogram-lodash";
import {isFunction} from "lodash-es";