Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Lodash in AEM Project

Avatar

Level 6

How can I include Lodash/Underscore to my AEM Project now that it has been deprecated?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Shaheena_Sheikh ,

                                      You need to used webpack  to include Lodash/Underscore.

 

Regards,

Sanjay  

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Shaheena_Sheikh ,

                                      You need to used webpack  to include Lodash/Underscore.

 

Regards,

Sanjay  

Avatar

Community Advisor

Hi @Shaheena_Sheikh 

 

Please use the Webpack in your project.

 

Utility libraries such as Underscore and Lodash are part of the Generic JavaScript modules which is available in Webpack.

 

Please refer the link below for more details.

https://www.bounteous.com/insights/2017/08/02/how-does-webpack-fit-aem/

 

Hope this helps!

Thanks!