My project uses Vue.js and leaflet to display some data on a map, in the shape of markers.
The markers on the map are bound popups, which content I would like to be reactively updated when the associated data change, just like any Vue component does.
I checked the option of vueleaflet, which provides a popup component for leaflet. But this script defines the content of the popup though an attribute of the component: <l-popup content="a popup"></l-popup>. This way isn't so relevant in my case, as I have some complex templating to insert in the popup (including conditional statements and subcomponents).
I would rather need something like:
<l-popup>
My elaborate content here.
</l-popup>
