mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
docs: update build.transpile instructions
This commit is contained in:
@@ -24,7 +24,7 @@ yarn add @trpc/server @trpc/client trpc-nuxt zod
|
|||||||
```ts [nuxt.config.ts]
|
```ts [nuxt.config.ts]
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
build: {
|
build: {
|
||||||
transpile: ['trpc-nuxt/client']
|
transpile: ['trpc-nuxt']
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user