When i am previewing the Lightning APP it is giving error
Something has gone wrong. $Lightning is not defined. Please try again.
Mainly this is happening after salesforce update. Is there anything to do with that ?
<aura:application access="GLOBAL" extends="ltng:outApp">
<c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>
<aura:dependency resource="c:AccountInfoComponent"/>
</aura:application>
VFPAGE:
<apex:page standardStylesheets="false" sidebar="false">
<div style="vertical-align: top; margin-top: -650px;">
<apex:includeLightning />
<div id="lightning" />
<script>
$Lightning.use("c:AccApp", function() {
$Lightning.createComponent("c:AccountInfoComponent",
{ Label : " " },
"lightning",
function(cmp) {
// do some stuff
});
});
</script>
</div>
</apex:page>