Skip to main content
답변 7개
  1. 2017년 9월 4일 오후 1:22
    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.

     
0/9000