This example shows how to build comments with Liveblocks and Next.js, using the primitives instead of the default components.
Open the example above and share it on multiple windows or devices to try it live.
Run the following command to set up your project manually:
- Install all dependencies with
- Create an account on liveblocks.io
- Copy your secret key from the dashboard
- Create an
.env.localfile and add your secret key as the
npm run devand go to http://localhost:3000