Switch layout to use runes syntax
This commit is contained in:
parent
9964b08133
commit
fc382d6876
1 changed files with 6 additions and 1 deletions
|
@ -1,10 +1,15 @@
|
|||
<svelte:options runes={true} />
|
||||
|
||||
<script>
|
||||
import "../app.pcss";
|
||||
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
<div class="h-full flex flex-col">
|
||||
<div class="border border-2 p-1">
|
||||
<h1>Navbar</h1>
|
||||
</div>
|
||||
<slot></slot>
|
||||
|
||||
{@render children()}
|
||||
</div>
|
Loading…
Reference in a new issue