mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-30 11:47:54 +01:00
convert to pnpm workspace
This commit is contained in:
11
packages/playground/server/fn/index.ts
Normal file
11
packages/playground/server/fn/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// generated by trpc-nuxt
|
||||
import * as trpc from '@trpc/server'
|
||||
|
||||
export const router = trpc
|
||||
.router()
|
||||
.query('hello', {
|
||||
resolve: () => 'world',
|
||||
});
|
||||
|
||||
export type Router = typeof router
|
||||
|
||||
Reference in New Issue
Block a user