docs: fix mention of svelte config in best practices (#18917)

Closes https://github.com/sveltejs/ai-tools/issues/279
pull/18846/merge
Paolo Ricciuti 8 hours ago committed by GitHub
parent 020242d6be
commit 4c884722f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -167,7 +167,7 @@ Use `createContext` rather than `setContext` and `getContext`, as it provides ty
## Async Svelte
If using version 5.36 or higher, you can use [await expressions](await-expressions) and [hydratable](hydratable) to use promises directly inside components. Note that these require the `experimental.async` option to be enabled in `svelte.config.js` as they are not yet considered fully stable.
If using version 5.36 or higher, you can use [await expressions](await-expressions) and [hydratable](hydratable) to use promises directly inside components. Note that these require the `experimental.async` option to be enabled in the plugin options in `vite.config.js` or in the `svelte.config.js` as they are not yet considered fully stable.
## Avoid legacy features

Loading…
Cancel
Save