- attached Screen Shot 2017-04-10 at 12.54.32 PM.png
- attached Untitled.png
Unable to create Lightning Design file in Aura Component
A Lightning "Design" resource is not one of the options when attempting to add a file to a lightning bundle.
Comments (10)
-
reporter -
reporter and I just checked developer console. oddly enough, I can't add a design resource to the component that way either..
-
reporter -
repo owner Alex, the issue is that you're right-clicking on Lightning application instead of a Lightning component. If you right-click on a Lightning component you should see Design offered as an option. Now, having said that, it's very possible that I misunderstood which bundle contents are allowed for applications. Based on the info here:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_bundle.htm
it looks like Design is only intended for components. If that's incorrect, it's trivial for me to make that an option when working with components. Please let know based on your experience if that's the case.
-
repo owner I just verified that Developer Console does not offer Design as an option for Application bundles either:
-
repo owner - changed component to Lightning
-
reporter Well, i feel like an idiot. You're correct, I created an application when i meant to create a component. I don't know how/why; I've created countless components w/o making this mistake, lol... sorry about that.
-
repo owner - changed status to resolved
Hah! No problem, and don't feel bad at all. You definitely had me wondering if perhaps the filtering wasn't quite right for the various bundle types. Glad it was something this simple, and honestly glad it (indirectly) caught a mistake for you!
-
repo owner - changed component to Lightning (Aura)
-
repo owner - changed component to Aura
- Log in to comment
screen caps