[Vuejs]-Vue JS nested component doesnt show up in DOM

0👍

You need to use slots, they are a mechanism for Vue components that allows you to compose your components in a way other than the strict parent-child relationship. Slots give you an outlet to place content in new places or make components more generic.

<div class="max-height-75vh">
   <slot></slot>
</div>
<modal-dialog v-show="Modal" title="Add transducer">
   <add-transducer></add-transducer>
</modal-dialog>

Leave a comment