Newer Version Available
Lightning Container (Developer Preview)
The lightning:container component hosts content in an iframe. You can use lightning:container only for single-page applications (SPA).
You can implement communication to and from the framed application, allowing it to interact with the Lightning component. lightning:container provides the message() method, which you can use in the JavaScript controller to send messages to the application. In the component, specify a method for handling messages with the onmessage attribute.
Content in lightning:container is served from the Visualforce domain, which limits where lightning:container can be used. lightning:container can’t be used, for example, in Visualforce pages (using Lightning Components for Visualforce) or Community Builder.