Mentioning the resources means what are the custom components that can be referenced in the Visualforce page that can be created in the Visualforce page. We will create a Visualforce page where we use the necessary functions and components.
- We want to use it as a
Lightning Out Dependence App,
so click on theSubmit
button:
- Once you select it, this is extending
ltng:outApp
. Here, underdependency resource
, put the resource you want to use as the namespace; we will use our default namespace, which isc:myFirstLightningComponent
:
<aura: application extends="ltng:outApp"> <aura:dependency resource="c:myFirstLightningComponent"/> </aura:application>
- Now, save it. So far, we have developed a Lightning dependency app...