AEM 6.2 Component Specific ClientLibrary
Hi Team,
While going through the we retail reference site , I noticed for each component they have created separate clienlibaries like below-
| <?xml version="1.0" encoding="UTF-8"?> | <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | jcr:primaryType="cq:ClientLibraryFolder" | categories="[we-retail.components.base,we-retail.components.articles-list]"/> |
aem-sample-we-retail/.content.xml at master · Adobe-Marketing-Cloud/aem-sample-we-retail · GitHub
Categories we have we-retail.components.base,we-retail.components.articles-list.
So what is the use of we-retail.components.articles-list. in this case.
Even if we specify only we-retail.components.base it works the same way.
Also what is the benefit of creating a separate client library in each component folder rather we could create them in etc/design/site/css or js files?