Skip to content

Commit 7142fa0

Browse files
authored
docs: note requirement on 5.5.0 to export snippets (#14523)
1 parent e722ef6 commit 7142fa0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

documentation/docs/03-template-syntax/06-snippet.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ Snippets declared at the top level of a `.svelte` file can be exported from a `<
260260
{/snippet}
261261
```
262262

263+
> [!NOTE]
264+
> This requires Svelte 5.5.0 or newer
265+
263266
## Programmatic snippets
264267

265268
Snippets can be created programmatically with the [`createRawSnippet`](svelte#createRawSnippet) API. This is intended for advanced use cases.

0 commit comments

Comments
 (0)