Embedding and customizing a VueJS component through an iFrame

Imagine you built a nice booking form in VueJs and now you’d like 3rd parties to customize it and embed it in their own website. You could leverage the power of Web Components by using the awesome vue-custom-element package. But what if you need to use routes (i.e. vue-router) within your form and use Stripe to authorise payments? An iFrame would probably work best.

Continue reading