Omschrijving
A Vue component to render your component’s template anywhere in the DOM.
Vue 3? -> https://github.com/LinusBorg/portal-vue?tab=readme-ov-file
Vue 2? -> https://v2.portal-vue.linusb.org/ – maximale versie 2.1.7
<portal to="destination">
<p>This slot content will be rendered wherever the
<portal-target> with name 'destination'
is located.
</p>
</portal>
<portal-target name="destination">
<!--
This component can be located anwhere in your App
(i.e. right before the </body> tag, good for overlays).
The slot content of the above portal component will be rendered here.
-->
</portal-target>