Skip to content

Clientlibs not being built properly #3

Closed Answered by l3szek
l3szek asked this question in Q&A
Discussion options

You must be logged in to vote

To anyone stumbling across similar issue, I've resolved it by adding a category to the settings of the clientlib-site folder: categories="[aem-vite]" (in the .content.xml file under <project>/clientlibs/clientlib-site), and then setting that category in the template's policy, like so:
`<policy
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policy/policy"
clientlibs="[aem-vite]"
clientlibsJsHead="[clientlib-site]"

`

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by l3szek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant