{#each $layout.children as { path, title }} {title} {/each}
window.open(`/${application}`)}>
{#await promise}
{:then} {:catch error}

Something went wrong: {error.message}

{/await}