trpc
v11 beta
위의 클라이언트는 서버에서 코드를 가져 오지 않고 유형 선언 만 있습니다.
메모
버전 11을 대표하는 현재 진행중인 TRPC의 next 브랜치를보고 있습니다.
11.0.0 에 도달 할 때까지 패치 사이에 작은 파손을 할 수 있습니다.next -tag와 함께 게시됩니다.TRPC를 사용하면 스키마 나 코드 생성없이 완전히 유형화 된 API를 쉽게 빌드하고 소비 할 수 있습니다.
TRPC를 사용하거나 새 프로젝트를 부트 스트랩하는 데 사용할 수있는 몇 가지 예가 있습니다. 예를 들어, Next.js 앱을 원한다면 Full-Stack Next.js 예를 사용할 수 있습니다.
Full-Stack Next.js 예제로 빠르게 시작합니다.
# yarn
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# npm
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# pnpm
pnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# bun
bunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# deno
deno init --npm next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-startertrpc.io에 대한 전체 문서를 참조하십시오. ?
기여하고 싶습니까? 먼저, 문제 또는 PR을 열기 전에 기고 가이드 라인을 읽어 분기 전략과 지역 개발 환경을 이해하십시오. 더 이상 지침이 필요하거나 더 많은 질문을하고 싶다면 Discord에 문의하십시오!
|
확장하다
관련 애플리케이션
추천
|