Activity Forums Salesforce® Discussions How to include a lightning component on a visualforce page in Salesforce?

  • Nikita

    Member
    November 12, 2019 at 3:48 pm

    Hi Yogesh,

    There are three steps to add Aura components to a Visualforce page.

    1. Add the Lightning Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.
    2. Create and reference a Lightning app that declares your component dependencies.
    3. Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos