Migration to Svelte 5 - Post-auto-migrate

This commit is contained in:
2024-10-23 14:11:33 +10:00
parent 2017ca50f1
commit 941eacfb3f
8 changed files with 44 additions and 26 deletions
+6 -1
View File
@@ -2,10 +2,15 @@
import "../app.css";
import Navbar from "$lib/components/navbar/navbar.svelte";
import Footer from "$lib/components/footer.svelte";
interface Props {
children?: import('svelte').Snippet;
}
let { children }: Props = $props();
</script>
<Navbar />
<slot />
{@render children?.()}
<Footer />