Hello Lightning Component

Lightning是Salesforce一套全新的UI,是Salesforce极力推荐的,也是Salesforce未来的趋势。因此掌握Lightning Component开发对于Salesforce Developer人员来说是将来必不可少的技能。废话不多说。在创建Lightning Component之前是需要注册域名的,至于怎么注册域名这里就不讲解了。

Step1 打开控制台

Step2 创建Lightning Component

创建Component

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

最后创建Lightning组件选项卡,在选项卡中就能看到效果了 

猜你喜欢

转载自www.cnblogs.com/living-/p/9011954.html