mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
update readme
This commit is contained in:
@@ -16,6 +16,10 @@ import { defineNuxtConfig } from 'nuxt'
|
|||||||
|
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: ['trpc-nuxt'],
|
modules: ['trpc-nuxt'],
|
||||||
|
trpc: {
|
||||||
|
baseURL: 'http://localhost:3000', // defaults to http://localhost:3000
|
||||||
|
trpcURL: '/api/trpc', // defaults to /api/trpc
|
||||||
|
},
|
||||||
typescript: {
|
typescript: {
|
||||||
strict: true // set this to true to infer input/output types
|
strict: true // set this to true to infer input/output types
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user