how to use lodash in Angular

106

how to use lodash in Angular -

---------------------------------------------
npm i lodash --save
---------------------------------------------
npm i --save-dev @types/lodash
---------------------------------------------
import * as _ from 'lodash';

let myItem = {};
let clonedItem = _.clone(myItem);

lodash angular 9 -

npm install lodash --save
npm install @types/lodash --save-dev

Comments

Submit
0 Comments