Friday, April 22, 2016

Embed a Lightning Component in a VF page

To display a Lightning Component inside a VF page, please follow these 3 steps.

  1. Create a Lightning App.
  2. Create a Lightning Component.
  3. Call the Lightning app and Component inside your VF page.
Here is the code for Lightning App and VF page: GitHub.

Note: For the Lightning component you can use the previous example.

1 comment:

  1. Hi Sujit,
    I need to display contact lookup in account page. Is it possible to do ?Have you implemented it?

    ReplyDelete