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

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

Avatar

Level 5

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
4 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Employee Advisor

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