Skip to content

Commit 362e276

Browse files
committed
chore: update readme
1 parent 7c495c9 commit 362e276

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ End-to-end typesafe APIs with [tRPC.io](https://trpc.io/) in Nuxt applications.
2222
npm install trpc-nuxt@next @trpc/server@next @trpc/client@next
2323
```
2424

25+
Add `trpc-nuxt` to your `nuxt.config.ts`'s `build.transpile`:
26+
27+
```ts
28+
export default defineNuxtConfig({
29+
build: {
30+
transpile: ['trpc-nuxt']
31+
}
32+
})
33+
```
34+
2535
## Setup
2636

2737
### 1. Create your [tRPC router](https://trpc.io/docs/server/routers):

0 commit comments

Comments
 (0)