function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
refer this link
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_visualforce.htm
You can use this VisualforcePage and Put your component Name and Application name in this page.
<apex:page sidebar="false" showHeader="false" standardStylesheets="false" >
<apex:includeLightning />
<div id="BcSecuritiesDiv"></div>
<script>
$Lightning.use("c:Your Application Name", function() {
$Lightning.createComponent("c:Your component Name",
{},
"BcSecuritiesDiv",
function(cmp) {
console.log('>>>>> App is hosted');
});
});
</script>
</apex:page>
--------Change your Application Name According this----------------------------
<aura:application description="BcSecuritiesApp" extends="ltng:outApp" access="global" implements="ltng:allowGuestAccess" >
</aura:application>
--------Change your Component Name According this----------------------------
<aura:component description="AssetFinance" controller="AssetFinance" implements="forceCommunity:availableForAllPageTypes" access="global">
Please let me know if you have any query.
Please mark it as best Answer if you find it helpful.
Thank You
Ajay Dubedi
I want to create a vf page using a component from managed package , any help on how to do that .
How can I create visualforce(included lightning components) page for site?
Thanks,
Sarfraz