before {#if visible} <Widget /> {/if} after <script> import Widget from './Widget.html'; export default { components: { Widget } }; </script>