标签:test flex guest style code search ESS force tab
<aura:component controller="KnowledgeSiteController" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" > test </aura:component>
<aura:application access="GLOBAL" extends="ltng:outApp" implements="ltng:allowGuestAccess"> <aura:dependency resource="c:YAXIN_SearchCmp" type="COMPONENT"/> </aura:application>
<apex:page showHeader="false" sidebar="false">
<apex:includeLightning />
<div id="lightning" />
<script>
$Lightning.use("c:YAXIN_SearchApp", function() {
$Lightning.createComponent("c:YAXIN_SearchCmp",
"",
"lightning",
function(cmp) {
// do some stuff
});
},
);
</script>
</apex:page>
Lightning Component 嵌入到 VF Page
标签:test flex guest style code search ESS force tab
原文地址:https://www.cnblogs.com/pipidan/p/10557647.html