mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 04:04:30 +01:00
docs: fix incorrect syntax
This commit is contained in:
@@ -6,7 +6,7 @@ title: Response Caching
|
||||
|
||||
Your server responses must [satisfy some criteria](https://vercel.com/docs/concepts/functions/serverless-functions/edge-caching) in order for them to be cached (i.e. by Vercel's Edge Network). Please refer to [this section of the tRPC.io documentation](https://trpc.io/docs/caching) for more information.
|
||||
|
||||
The createNuxtApiHandler` function conveniently allows you to specify a `responseMeta` function.
|
||||
The `createNuxtApiHandler` function conveniently allows you to specify a `responseMeta` function.
|
||||
|
||||
```ts [server/api/trpc/[trpc].ts]
|
||||
import { createNuxtApiHandler } from 'trpc-nuxt'
|
||||
|
||||
Reference in New Issue
Block a user