Q : How can we use a lightning component in a VisualForce Page?
Q : VisualForce 페이지에서 Lightning 구성 요소를 어떻게 사용할 수 있습니까?
A : A Lightning component can be embed in any webpage using a very powerful and flexible feature, Lighting out. When used with Visualforce some complexity becomes simpler.
Lightning component can be added to Visualforce page in three steps:
1. We have to first Add the Lightning Components for Visualforce JavaScript library to your targetted Visualforce page using the tag.
2. Next we have to create and refer a Lightning app which is used to the component dependencies.
3. Lastly we need to write a JavaScript function which will finally create the the component on the page using $Lightning.createComponent()
A : Lightning 구성 요소는 매우 강력하고 유연한 기능인 Lighting out을 사용하여 모든 웹 페이지에 임베드할 수 있습니다. Visualforce와 함께 사용하면 다소 복잡해집니다.
Lightning 구성 요소는 세 단계로 Visualforce 페이지에 추가 할 수 있습니다.
1. 먼저 태그를 사용하여 Visualforce JavaScript 용 Lightning 구성 요소 라이브러리를 대상 Visualforce 페이지에 추가해야 합니다.
2. 다음으로 구성 요소 종속성에 사용되는 Lightning 앱을 만들고 참조해야 합니다.
3. 마지막으로 $Lightning.createComponent()를 사용하여 페이지에 구성 요소를 생성하는 JavaScript 함수를 작성해야 합니다.
Salesforce QA/Lightning
How can we use a lightning component in a VisualForce Page?
728x90
728x90