mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-20 23:11:41 +01:00
add useTRPCAsyncData composable
This commit is contained in:
@@ -58,6 +58,8 @@ export function createTRPCHandler<Router extends AnyRouter>({
|
||||
|
||||
const $url = createURL(req.url)
|
||||
|
||||
event.context.hello = 'world'
|
||||
|
||||
const httpResponse = await resolveHTTPResponse({
|
||||
router,
|
||||
req: {
|
||||
|
||||
Reference in New Issue
Block a user