Best place to keep aem clientlibs - etc/clientlibs or dorectly at component level? | Community
Skip to main content
Mario248
Level 7
Jun 7, 2022 10:11 AM UTC
Solved

Best place to keep aem clientlibs - etc/clientlibs or dorectly at component level?

I want to understand what is the best place to keep aem clientlibs - etc/clientlibs or directly at component level. I see WeRetail uses all it's clientlibs directly at component level (ex, /apps/weretail/components/content/carousel/clientlibs). Should it be at /etc/clientlibs location.

 

What is the recommendation from adobe on this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MayurSatav
MayurSatavAccepted solution
New Participant
Jun 7, 2022 10:19 AM UTC

4 replies

Mayank_Gandhi
Employee
Jun 7, 2022 1:29 PM UTC

@mario248 This depends on the business and project requirements. it's flexible. 

Translate
Himanshu_Jain
New Participant
Jun 7, 2022 12:19 PM UTC

Using clientlib at component level depends upon the requirement .

There is no as such fixed rule for this.

 

For more details on clientlibs refer : experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en

 

Translate
Himanshu Jain
MayurSatav
MayurSatavAccepted solution
New Participant
Jun 7, 2022 10:19 AM UTC
DEBAL_DAS
New Participant
Jun 7, 2022 10:16 AM UTC