-
Hi, After following the AEM Vite official documentation, I am able to see the local AEM instance being proxied on The problem is that my JS/CSS changes doesn't seem to be available there. I've added a The clientlibs folder doesn't seem to be updated after I was wondering if there is a working AEM Vite demo repo, with everything properly configured (maybe based on the AEM Project Archetype) that could be used as a boilerplate? Any help on what I might be doing wrong in my repo is highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To anyone stumbling across similar issue, I've resolved it by adding a
|
Beta Was this translation helpful? Give feedback.
To anyone stumbling across similar issue, I've resolved it by adding a
category
to the settings of theclientlib-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]"