Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Lightning Styling - Component Not Rendering with Default Style [duplicate]

Asked by Carl Paige Jul 12, 2021 1.1K views 1 answer
Share

About this question

Just getting my feet wet in lightning. I am trying to render the following lightning app in Salesforce classic. However the form displayed is returned only in basic HTML (without the default lightning styling). Is it required that lightning be enabled to render lightning components? I would think not since the lightning components can be rendered on visualforce pages. Do I need to include any additional markup to render correctly? appName.app myfirstComponent.cmp: Basic Input Text

Advanced Input Text
Live Input Text
FirstName: {! v.firstName }

What is being displayed on preview:

enter image description hereTop keywords - lightning style

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.