Activity Forums Salesforce® Discussions Does Lightning work with Visualforce in salesforce?

  • Nikita

    Member
    October 4, 2019 at 6:53 am

    Hi Piyush,

    Yes, Lightning works with Visualforce Page.

    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