+ Start a Discussion

How to view Lightning component in salesforce classic

Hi All,

I have a requriement where i need to display my  Lightning component in classic I  have included  Lightning component it in My visualforce page  but i am seeing the below erorr in nloading the Vf page  and output is being displayed as blank.
Vf Page :
    <apex:includeLightning />
        $Lightning.use("c:ExampleApp", function() {
              { displaytext: "This is your Lightning component"
                   console.log('Lightning component is being displayed in a VF page');
    <apex:includeLightning />
    <div style="Width:100%;height:150px;" id="lightningcomp" />

User-added image

Can i include my Lightning component directly in salesforce classic ?
ShivankurShivankur (Salesforce Developers) 
Hi Vijay,

Please check out this blog, which could help you implementing this requirement:

Hope above information helps. Please mark as Best Answer so that it can help others in future.