[Vuejs]-Directive on child of components

0👍

Try to write like this:

<div id="app">
    <compo1 v-console><div slot>John</div></compo1>
</div>

Also, not wrapped by an element text, is da bad practice.

Leave a comment