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
Tarun DasTarun Das 

How to combine <aura:application extends="force:slds"> and <aura:application access="GLOBAL" extends="ltng:outApp"> in App

Why i need to combine <aura:application extends="force:slds">  and <aura:application access="GLOBAL" extends="ltng:outApp"> in App?

Reason is i want my app to be available publicly and also i want to get all features of lightning design system,how do i do that?

My app runs fine when i write below
 
<aura:application extends="force:slds">
    
    <c:MorningFatMelter/>
    
</aura:application>



Now i want  my app to use below line of code ,why? because i need to run my app independently like without requiring the user to login to salesforce

but i get error when i try to combine a
Integrity Error

 
<aura:application extends="force:slds,ltng:outApp" access="GLOBAL">
    <aura:dependency resource="c:MorningFatMelter"/>
</aura:application>
I understand from below thread is  want two apps: one as a LO app to define dependencies, and a SLDS app for running as a standalone app.

https://salesforce.stackexchange.com/questions/184029/extending-multiple-interfaces-in-auraapplication

But how do i do that?

Regards,
Tarun


 
Raj VakatiRaj Vakati
The only way i am able to think is .. Download the SLDS CSS and load them as static resources in c:MorningFatMelter Component and extends ltng:outApp in aura application ..