Hello All,
You might be aware that there are certain events like toast message only works in lightning context. Which means they do not work when invoking from a Visualforce page or a custom APP.
Recently I have faced a similar roadblock where my toast messages were not showing as I wrapped my LWC component inside an AURA application.
You can find my git project here.
I have also added a sample component to show how to use the custom toast component. If you have any comments or want to add some improvement, please let me know.
You might be aware that there are certain events like toast message only works in lightning context. Which means they do not work when invoking from a Visualforce page or a custom APP.
Recently I have faced a similar roadblock where my toast messages were not showing as I wrapped my LWC component inside an AURA application.
You can find my git project here.
I have also added a sample component to show how to use the custom toast component. If you have any comments or want to add some improvement, please let me know.