vue-di-view
inject view from child to parent useful when ui is in parent component but logic in child component
npm install vue-di-view
Vue
use
parent.vue
<!-- create a view placeholder then child component can inject here -->
child.vue
<!-- di-child's children view will render to previous <di-view> placeholder --> Hello world