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>
|
<script>
|
||||||
import "../app.pcss";
|
import "../app.pcss";
|
||||||
|
|
||||||
|
let { children } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="h-full flex flex-col">
|
<div class="h-full flex flex-col">
|
||||||
<div class="border border-2 p-1">
|
<div class="border border-2 p-1">
|
||||||
<h1>Navbar</h1>
|
<h1>Navbar</h1>
|
||||||
</div>
|
</div>
|
||||||
<slot></slot>
|
|
||||||
|
{@render children()}
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue