1

I have created new css file at root of the static resource as Layout.css which is public.

when I am including this css file in my .cmp file, I am not able to load it. I have even debugged and seen in network tab it is not even queried.

  <ltng:require styles="{!$Resource.PicOSLayout}"/>

Need your help for this. Any suggestions.

  • try with /resource/PicOSLayout – Santanu Halder Oct 19 '16 at 11:25
  • I have the same problem since today. I notice it just generates an empty <link> tag in the header. The scripts are still being loaded via ltng:require, but not the styles. – svenf Oct 19 '16 at 11:53
  • 1
    Same here - I added the question to dev forum here: developer.salesforce.com/forums/#!/… Edit: couldn't add it as comment as I don't have enough reputation. – Artur Oct 19 '16 at 15:43
  • Look for update in the org; disable those update – Akash Oct 19 '16 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.