docs: update build.transpile instructions

This commit is contained in:
wobsoriano
2022-12-19 20:22:04 -08:00
parent bb2d1ef8dd
commit a8138602a2

View File

@@ -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']
} }
}) })
``` ```