PortalVue, created by Thorsten Lünborg, is a portal component for Vuejs that allows you to render DOM elements outside of a component.

Typically when are working with things like tooltips, drop downs, and modals you need to rely on events to communicate between disconnected components. That can lead to complexity in your app and that is where PortalVue comes in.

Here is a simple example that is taken from the docs to highlight how it works:


  

This slot content will be rendered wherever the with name 'destination' is located.

You can even mount items outside of the Vue-App:


  

PortalVue will dynamically mount an instance of in place of the Element with `id="widget"`, and this paragraph will be rendered inside of it.

new Vue({el: '#app'})

For more information on this component check out the Github Repo and the official documentation. It looks to be a great solution for keeping your code clean and manageable.