diff --git a/README.md b/README.md index 9cd23a5..981e02a 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ import { defineNuxtConfig } from 'nuxt' export default defineNuxtConfig({ modules: ['trpc-nuxt'], + trpc: { + baseURL: 'http://localhost:3000', // defaults to http://localhost:3000 + trpcURL: '/api/trpc', // defaults to /api/trpc + }, typescript: { strict: true // set this to true to infer input/output types }