You need to sign in to do that
Don't have an account?
Nashle Pak
Show SLDS's SVGs and fonts whith Lightning Out in external website
Hello Ohana,
I use Lightning Out for embed my LWCs into my external website.
In my Lightning app I have paste this line for add SLDS at my application :
In addition to adding slds as a static resource in Salesforce, in my repository, I add the static SLDS resource under 2 different directory names: "-slds" and "slds".
But I still do not see SVG and fonts are not recovered.
Can you help me ?
My project is available online at this address:
https://nashle.github.io/lightningout/
You can check the contents of my repository at this url:https://github.com/Nashle/lightningout/
Aloha!
I use Lightning Out for embed my LWCs into my external website.
In my Lightning app I have paste this line for add SLDS at my application :
<aura:application access="GLOBAL" extends="ltng:outApp" implements="ltng:allowGuestAccess"> <ltng:require styles="{!$Resource.SLDS283 + '/styles/salesforce-lightning-design-system.css'}" /> <aura:dependency resource="c:helloWorld" />> <!--<aura:dependency resource="c:expenses"/>--> <aura:dependency resource="c:FlowC13" /> </aura:application>
In addition to adding slds as a static resource in Salesforce, in my repository, I add the static SLDS resource under 2 different directory names: "-slds" and "slds".
But I still do not see SVG and fonts are not recovered.
Can you help me ?
My project is available online at this address:
https://nashle.github.io/lightningout/
You can check the contents of my repository at this url:https://github.com/Nashle/lightningout/
Aloha!