function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nashle PakNashle 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 : 
<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.

User-added image

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!