I'm using Lightning Out in order to render my Lightning Components inside a Visualforce page.
<apex:page showHeader="true" sidebar="true">
<apex:includeLightning />
<div id="lightning" />
<script>
$Lightning.use("c:MyLightningOutApp", function() {
$Lightning.createComponent("c:myComponent",
{},
"lightning",
function(cmp) {}
);
});
</script>
</apex:page>
Since I'm creating a Managed Package, my hope was that I would be able to use this approach to save on development time, while still allowing my subscribers to use the package in Salesforce Classic.
However, it seems that my Visualforce page is not able to render out Lightning Components without setting up the "My Domain" first on the subscriber's org. So, my question is, is there a way to use Lightning Out without setting up "My Domain"?