docs: note requirement on 5.5.0 to export snippets (#14523)

pull/14528/head
Rich Harris 3 weeks ago committed by GitHub
parent e722ef6b15
commit 7142fa0b5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -260,6 +260,9 @@ Snippets declared at the top level of a `.svelte` file can be exported from a `<
{/snippet}
```
> [!NOTE]
> This requires Svelte 5.5.0 or newer
## Programmatic snippets
Snippets can be created programmatically with the [`createRawSnippet`](svelte#createRawSnippet) API. This is intended for advanced use cases.

Loading…
Cancel
Save