I am writing a lightning web component that is going to be used in Salesforce Classic, Lightning Experience and an Employee Community. It does not HAVE to be a lightning web component – I could use a traditional Aura Lightning Component if I must.
However, what I am finding is that the visualforce page does not work, even when the lwc component is embedded in a aura component that is then used with Lightning Components for Visualforce. I can see from the documentation here that using a lwc directly from within visualforce is not supported, but I was under the impression that it may work if wrapped in an aura component.
My question then is this:
Has anyone had success having a lwc wrapped in an aura component display successfully within Visualforce? Or is this completely unsupported behaviour?
Best Answer
With Summer 19 release, now its possible to use LWC in visualforce as lightning out.
https://www.paul-force.com/2019/04/24/use-lightning-web-components-in-visualforce-pages/ https://releasenotes.docs.salesforce.com/en-us/summer19/release-notes/rn_lwc_vf.htm