DJanoskova / Vuidget

A full-functioning Vue.js (routes, actions, state management..) embeddable widget in HTML
https://vuidget.netlify.com
213 stars 47 forks source link

Any tips on how to pass data to widget? #3

Closed corepay closed 5 years ago

corepay commented 5 years ago

This is exactly what I have been looking for. Have to have a remote server use my app. Spent last few days struggling with iFrame and nuxt and postMessage yada yada without much progress.

So what is your suggestion to pass data back and forth to the widget? My app has an api to external services and I need to have the host app pass on some params. Ideally I should be able to return params to update their system as well. Any advice or pointers?

corepay commented 5 years ago

figuring it out...

Tusko commented 4 years ago

Any news? Mb 'data-' props?