I have a lightning component as below on Opportunity standard lightning page.
Example.cmp:
<aura:component
implements="force:appHostable,flexipage:availableForAllPageTypes,force:hasRecordId"
access="GLOBAL">
<c:svgComponent
xlinkHref="/resource/SLDS212/assets/icons/standard-sprite/svg/symbols.svg#product"
class="slds-icon" />
</aura:component>
svgComponent.cmp:
<aura:component >
<aura:attribute name="class" type="String"/>
<aura:attribute name="xlinkHref" type="String"/>
<aura:attribute name="ariaHidden" type="String" default="true"/>
</aura:component>
Also, I have a static resource uploaded with name SLDS212
.
For every release, I go to Downloads - Lightning Design Systems, download new file and upload to static resource and update my components.
Is there a better way to do this, instead of downloading the styles sheet for every release and uploading?
Please note that there is no <aura:application>
involved here.