Skip to content

Commit 13ea452

Browse files
committed
docs(pinia-colada): add nuxt tips for compatibility
1 parent fd5b1e4 commit 13ea452

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/openapi-ts/plugins/pinia-colada.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ The Pinia Colada plugin for Hey API generates functions and query keys from your
3535

3636
## Installation
3737

38+
::: tip Nuxt
39+
When using this plugin in a Nuxt app, prefer the [ofetch client](/openapi-ts/clients/ofetch) for universal compatibility.
40+
41+
The [nuxt client](/openapi-ts/clients/nuxt) is tailored for working directly with Nuxt composables (`$fetch` / `useFetch` / `useAsyncData`) and is not intended as a universal HTTP client for libraries like `@pinia/colada`.
42+
:::
43+
3844
In your [configuration](/openapi-ts/get-started), add `@pinia/colada` to your plugins and you'll be ready to generate Pinia Colada artifacts. :tada:
3945

4046
```js

0 commit comments

Comments
 (0)