Skip to content

Commit

Permalink
Pin Next also
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Ayers <[email protected]>
  • Loading branch information
smaye81 committed Aug 6, 2024
1 parent 9a588be commit a70ec2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/node/server-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ using the latest React features. With [@connectrpc/connect-next](https://www.npm
you can serve your Connect RPCs via Next.js API Routes.

```bash
$ npm install next @connectrpc/connect@"^1.0.0" @connectrpc/connect-node@"^1.0.0" @connectrpc/connect-next@"^1.0.0"
$ npm install next@"^13.0.0" @connectrpc/connect@"^1.0.0" @connectrpc/connect-node@"^1.0.0" @connectrpc/connect-next@"^1.0.0"
```

To enable the server plugin, create the file `pages/api/[[...connect]].ts` in your project:
Expand Down

0 comments on commit a70ec2d

Please sign in to comment.