Hello Lightning Component

Lightning is a new set of UI for Salesforce, which is highly recommended by Salesforce and is also the future trend of Salesforce. So mastering Lightning Component development is an essential skill for Salesforce Developers in the future. Not much nonsense. Before creating Lightning Component, you need to register a domain name. As for how to register a domain name, we will not explain it here.

Step1 Open the console

Step2 Create Lightning Component

Create Component

<aura:component implements="force:appHostable"
 description="HelloLightning" controller="FirstLingtningController">
    <h1>Hello Lightning</h1>
</aura:component>

 

Finally, create a Lightning component tab, and you can see the effect in the tab 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325938433&siteId=291194637