schreiben/src/App.svelte
2023-08-28 10:40:09 -03:00

13 lines
309 B
Svelte

<script lang="ts">
import { setRouteToLastPagePromise, currentRoute } from "./lib/router";
</script>
<main class="min-h-screen max-w-7xl mx-auto">
{#await setRouteToLastPagePromise then}
<svelte:component
this={$currentRoute.component}
{...$currentRoute.params}
/>
{/await}
</main>