How can we use a lightning component in a visaulforce page? Explain?



How can we use a lightning component in a visaulforce page? Explain?..

Answer / Vipin Kumar Shaksena

To use a Lightning Component in a Visualforce page, you first need to create the component in the Lightning Components library. Then, include the Lightning Out script and styles on your Visualforce page. After that, create a Lightning Out container on the Visualforce page and insert the Lightning Component's markup inside the container.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

Why we use @future annotation?

1 Answers  


What is the main difference between using datatable vs. Pageblocktable tags? : salesforce visualforce

1 Answers  


If object-level permissions conflict with record-level permissions, then what will happen? : salesforce sharing and security

1 Answers  


What is manual sharing (user managed sharing)? : salesforce sharing and security

1 Answers  


What is a tabular report?

1 Answers  


How can I redirect the user to a page after processing is completed in the controller/extension?

1 Answers  


How can you call a controller method from javascript?

1 Answers  


What are different ways to make field required in salesforce? : salesforce validation rules

1 Answers  


What is protocal? : salesforce integration

1 Answers  


What are force platform sites?

1 Answers  


What are trend reports?

1 Answers  


When should you build solutions declaratively instead of with code?

1 Answers  


Categories