[MR Widget V2]: Add a vue component to transform structured data into a vue component
The Extension API works with a config object. It's quite powerful as by passing a Javascript object we can render different components. However, it came out with a few caveats mentioned here. Therefore we started the V2 migration to address those issues.
That said, we still want to make use of the Extension API by passing the widget component a summary and content objects.
This issue is to track that effort to write a component which takes this config object and renders the widget.
In other words we take the following as an input:
And display something like this as an output:
Implementation plan
-
Write a Vue component that takes an object (as similar as possible to extension API) and renders it. This object is nested up to three levels, so bear that in mind while developing it.
Edited by Savas Vedova