Activity Forums Salesforce® Discussions Can I open lightning component in Visualforce without using Lightning app.?

  • Can I open lightning component in Visualforce without using Lightning app.?

    Posted by Piyush on April 27, 2016 at 10:47 am

    Hello,

    I add the lightning component on the vf page with use of the app  and its work all good like that :
    "$Lightning.use("ContactCMP:ConDemoLightningApp", function() { })".

    But according to my requirement I don't use of the lightning app , I want to direct access  the lightning component,
    means I am saying that I want to direct access of the lightning component in the  vf page
    Like that : " $Lightning.createComponent(); "

    Is it is possible ? If yes then help me to out of this.

    Prafull replied 7 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Prafull

    Member
    April 28, 2016 at 6:21 am

    Lightning component can not be used without using lightning app in Visualforce page. You can use Lightning component only using app. Actually you can not treat Lightning component like Visualforce component in Visualforce page. You can use Visualforce component only in Visualforce page.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos