Closed NiciusB closed 7 months ago
When following the instructions in your README it fails with the error on the title
The solution I found was to wrap it inside app.runWithContext:
app.runWithContext
install(app) { const queryClient = app.runWithContext(useQueryClient) const trpcVueQuery = createTRPCVueQueryClient<AppRouter>({ queryClient, trpc: { links: [serverLink], }, }) app.provide("trpc", trpcVueQuery) },
Thanks for reporting this issue! I updated the README. We are also currently working on a full documentation page.
When following the instructions in your README it fails with the error on the title
The solution I found was to wrap it inside
app.runWithContext
: