Commit 772cd63
Update sveltekit.tsx - to svelte 5 syntax (#1986)
* Update sveltekit.tsx - to svelte 5 syntax
In Svelte 5, content can be passed to components in the form of snippets and rendered using render tags.
In legacy mode, content inside component tags is considered slotted content, which can be rendered by the component using a <slot> element
https://svelte.dev/docs/svelte/legacy-slots
---------
Co-authored-by: Philipp Spiess <hello@philippspiess.com>1 parent 170ee94 commit 772cd63
File tree
1 file changed
+2
-1
lines changed- src/app/(docs)/docs/installation/framework-guides
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments