Using jQuery3 version on AEM | Community
Skip to main content
Singaiah_Chintalapudi
Level 7
Sep 30, 2021 3:22 PM UTC
Solved

Using jQuery3 version on AEM

Hello,

 

OOTB AEM leverages jQuery 1.12* version. However, we want to use jQuery 3 instead of this default OOTB version. Most of the documentation seems to point to /etc/ for customization and is outdated.

 

We're planning to use a different namespace/variable name/object name for this custom jQuery 3 so they won't conflict.

 

Any ideas on implementing custom jQuery version on AEM?

 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 12, 2021 2:52 PM UTC

Have you tried the below approach mentioned in the document:

https://helpx.adobe.com/in/experience-manager/kb/resolve-jquery-library-conflicts-aem6.html

 

Log in to CRX/DE Lite as administrator (http://localhost:4502/crx/de/index.jsp).

Go to /etc/clientlibs/foundation/jquery.

Add the value granite.jquery.noconflict after granite.jquery in the dependencies property.
Click Save All, to save the changes.

 

Thanks!

4 replies

Singaiah_Chintalapudi
Level 7
Oct 28, 2021 2:50 PM UTC

we've customized in a different way but the below is not a solution and the documentation in that article is outdaed and does not fit for latest AEM versions.

Translate
Level 2
Jul 27, 2022 9:09 AM UTC

Hi @singaiah_chintalapudi  could you share your customization? 

Thanks a lot.

Translate
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 12, 2021 2:52 PM UTC

Have you tried the below approach mentioned in the document:

https://helpx.adobe.com/in/experience-manager/kb/resolve-jquery-library-conflicts-aem6.html

 

Log in to CRX/DE Lite as administrator (http://localhost:4502/crx/de/index.jsp).

Go to /etc/clientlibs/foundation/jquery.

Add the value granite.jquery.noconflict after granite.jquery in the dependencies property.
Click Save All, to save the changes.

 

Thanks!

Translate