Activity › Forums › Salesforce® Discussions › How can I embed a salesforce lightning component in visualforce page?

  • How can I embed a salesforce lightning component in visualforce page?

    Posted by Laveena on September 30, 2019 at 1:44 PM

    How can I embed a salesforce lightning component in visualforce page?

    Yogesh replied 7 years ago 2 Members · 1 Reply
  • 1 Reply
  • Yogesh

    Member
    September 30, 2019 at 2:47 PM

    Hello,

    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