You need to sign in to do that
Don't have an account?
Squire Q Kershner
Lightning App can't read x-zip-compressed Static Resource
I'm working on the Lightning Developer Trailhead and the Lightning Component Developer Guide Quickstart, and in both cases, I've uploaded a static resource (as instructed) to be used by the applications in question. However, the SLDS zip file doesn't appear to be working. I have an older version of the SLDS in my org (v090) that is is file format application/zip, and that one works fine. But the newest few SLDS downloads are in file format application/x-zip-compressed and none of these zip files in that format are working. What am I missing here?
The first line of the app in both examples use the following:
<ltng:require styles="{!$Resource.SLDSv2+'/assets/styles/salesforce-lightning-design-system-ltng.css'}"/>
However, the newest LDS zip-files have the asset file named without the final 'ltng' so by changing the ltng:require tag to
<ltng:require styles="{!$Resource.SLDSv2+'/assets/styles/salesforce-lightning-design-system.css'}"/>
everything now works.