Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

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

Avatar

Level 9

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion
4 Replies

Avatar

Employee Advisor

Avatar

Correct answer by
Community Advisor and Adobe Champion

Avatar

Community Advisor

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=e...

 

Himanshu Jain

Avatar

Employee Advisor

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