PortalVue 2.1.7

A Vue component to render your component's template anywhere in the DOM.

Usage example

<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>
1
2
3
4
5
6
7
8
9
10
11
12
13
14