Expand my Community achievements bar.

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

 

Himanshu Jain

Avatar

Employee Advisor

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