From b9d3a4942c49d76d9eab0c648dad056cb91f3b01 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Wed, 18 May 2022 11:37:22 -0700 Subject: [PATCH] update readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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 }