Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Lodash in AEM Project

Avatar

Level 5

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!