You need to sign in to do that
Don't have an account?
Lightning Creating Components Challenge: appHostable interface validation error
I've been trying to get my code to validate and keep receiving an error message that says 'The component does not implement the appHostable interface. That interface is required to add the component to Salesforce1." even though I have the appHostable interface in my code and the app also works for me in SF1. Below is my component and CSS code:
Can someone please tell me what the problem is and what I need to do to fix it? I've burned a lot of time trying to get this to validate by stripping it down to the most basic elements, adding things back in, etc. just to try and get it to pass. At this point, I don't know what else to do to try and get it to pass.
Component Code: <aura:component implements="force:appHostable"> <h1 class="headline">My Lightning Component</h1> </aura:component> CSS Code .THIS { } .THIS.headline{ font-size:24px; }
Can someone please tell me what the problem is and what I need to do to fix it? I've burned a lot of time trying to get this to validate by stripping it down to the most basic elements, adding things back in, etc. just to try and get it to pass. At this point, I don't know what else to do to try and get it to pass.
All Answers