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

josieqqiuAuthor
Level 2
March 15, 2021
hi jorg, there so kindly of you, can you give a document how to check it? thank you!
yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
March 16, 2021