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

Shaheena_Sheikh
Level 5
Level 5

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

1 Accepted Solution
bangar50
Correct answer by
Level 7
Level 7

Hi @Shaheena_Sheikh ,

                                      You need to used webpack  to include Lodash/Underscore.

 

Regards,

Sanjay  

View solution in original post

2 Replies
bangar50
Correct answer by
Level 7
Level 7

Hi @Shaheena_Sheikh ,

                                      You need to used webpack  to include Lodash/Underscore.

 

Regards,

Sanjay  

View solution in original post

Asutosh_Jena_
Community Advisor
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!