Next.js

Learn how to setup pluv.io on Next.js.

Next.js is a full-stack React framework that is commonly hosted on Vercel. As of the date of writing (April 1, 2025), Vercel doesn't currently support WebSockets (i.e. wss protocol). As a result, in order to use @pluv/io on Next.js, the WebSocket server must be hosted separately from Vercel, either by self-hosting or by using a managed service (like pluv.io). Check out the docs below for more information on your preferred way to connect to pluv.io.

Fully-managed

Self-hosted