Adding Lightning Components for the Visualforce JavaScript library

To add the JavaScript library for the Visualforce Salesforce, the Visualforce component library provides a standard markup tag, <apex:includeLightning>. Let's create a Visualforce page named "youtubeSearch", as shown in the following code:

<apex:page>
    <apex:includeLightning />

    <div id="Lightning" />

</apex:page>

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.