{#await promise}
{:then mod} {@const C = mod.default}
{:catch error}
Failed to load app: {(error as Error).message}
{/await}