Files
trpc-nuxt/docs/content/1.get-started/1.installation.md
Hoang Do fe2e45be70 Update 1.installation.md
`@trpc/server` and `@trpc/client` are now pointing to v10, while the `next` tag is deprecated
2022-11-28 17:01:59 +07:00

756 B

title, description
title description
Installation tRPC-Nuxt provides first class integration with tRPC.

Installation

::code-group

pnpm add @trpc/server @trpc/client trpc-nuxt zod
npm install @trpc/server @trpc/client trpc-nuxt zod
yarn add @trpc/server @trpc/client trpc-nuxt zod

::

Why @trpc/server?

For implementing tRPC endpoints and routers.

Why @trpc/client?

For making typesafe API calls from your client.

Why zod?

Most examples use Zod for input validation and tRPC.io highly recommends it, though it isn't required.

Next Steps

Now that you've installed the required dependencies, you are ready to start building your application.