How do I extend multiple interfaces in aura:application.

I want to use ltng:out and force:slds in the same app and expose the app on a public website. As a workaround I downloaded the slds class into static resource referenced through ltng: require for now

When I try to save this code in developer console:

<aura:application extends="force:slds,ltng:outApp" access="GLOBAL">
    <aura:dependency resource="c:casesearch"/>

I get the following error:

enter image description here

1 Answer 1


You can't. Lightning does not support multiple inheritance. An app can be either a Lightning Out app or a SLDS app. A LO app is only meant to resolve dependencies, not execute as an actual app. In your use case, you'd want two apps: one as a LO app to define dependencies, and a SLDS app for running as a standalone app.

  • Got it, so I guess my workaround of using SLDS as static resource will help me get what I want for now(Yet to test on a public site if all this will tie together)
    – Rao
    Jul 12, 2017 at 22:34
  • Or I can have app2 be a dependent app on app1 using aura:dependency
    – Rao
    Jul 12, 2017 at 22:50
  • @Rao use two different apps if need be. There are performance implications of using a non-LO app as a LO app.
    – sfdcfox
    Jul 12, 2017 at 22:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .