{#if currentRoute.layout} {:else if currentRoute.component} {:else if currentRoute.childRoute} {/if}