<script> export let x; import Widget from './Widget.html'; </script> {#if x} <Widget/> {/if}