
답변 7개

Hi Silpi,To use Lightning Components, your organization needs to have a custom domain configured using My Domain. https://trailhead.salesforce.com/en/modules/lex_dev_lc_basics/units/lex_dev_lc_basics_prereqs Component Name: HelloWorld
<aura:component >
<h1>Hello silpi </h1>
</aura:component>
<aura:application >
<c:HelloWorld/>
</aura:application>
This should print Hello silpi, the code is correct.
Please, Make sure that your org has no namespace. If your org has namespace then for lightning app code should look like below :
<aura:application >
<YourNameSpace:HelloWorld/>
</aura:application>
If it helps, Please mark it as BEST Answer.