can not import js css file after upgrade to AEM6.5 | Community
Skip to main content
Level 2
March 15, 2021
Solved

can not import js css file after upgrade to AEM6.5

  • March 15, 2021
  • 2 replies
  • 1536 views

Hi,everyone

I have code like 

<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ categories=['XXXX','YYYYYY']}" />

 these code can import  css file normal at AEM6.1, but after upgrade to AEM6.5, these code just can import css file normal at author server,  cannot import css file at publisher server, so cannot see the css style at the result page. anyone know what happen? thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

This is the wrong community to ask this question. 

Post your question at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-manager-community

2 replies

joerghoh
Adobe Employee
Adobe Employee
March 15, 2021

Check the permissions on the folders where the CSS files are residing. Check that they are readable by the anonymous user

joerghoh
Adobe Employee
Adobe Employee
March 15, 2021
You could login on your local publish test instance and use the useradmin to check the permissions on the path where you store the CSS.
yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
March 16, 2021