0.0.1-alpha.0 • Published 1 year ago

trpc-init v0.0.1-alpha.0

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

trpc-init

Add tRPC to any* existing project with a single command.

  • Currently only supports Next.js

NOTE: Currently requires the path alias ~/* to be available in your project.

Usage

npx trpc-init

Sample output

trpc-init will create a few basic tRPC configuration files that you'll be prompted to accept or reject, e.g:

sample prompt

We will also prompt you to edit a few existing files, e.g. pages/_app.tsx:

sample edit