Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

liveblocks/demo-comments-hover-boostr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveblocksLiveblocks

Overlay Comments

Live PreviewOpen in CodeSandboxReactNext.js

This example shows how to display comments overlaid on any website withLiveblocks andNext.js.

Overlay Comments

Getting started

Run the following command to try this example locally:

npx create-liveblocks-app@latest --example nextjs-comments-overlay --api-key

This will download the example and ask permission to open your browser, enablingyou to automatically get your API key from yourliveblocks.io account.

Manual setup

Read more

Alternatively, you can set up your project manually:

  • Install all dependencies withnpm install
  • Create an account onliveblocks.io
  • Copy yoursecret key from thedashboard
  • Create an.env.local file and add yoursecret key as theLIVEBLOCKS_SECRET_KEY environment variable
  • Runnpm run dev and go tohttp://localhost:3000

Deploy on Vercel

Read more

To both deploy onVercel, and run the example locally, usethe following command:

npx create-liveblocks-app@latest --example nextjs-comments-overlay --vercel

This will download the example and ask permission to open your browser, enablingyou to deploy to Vercel.

Develop on CodeSandbox

Read more

After forkingthis exampleon CodeSandbox, create theLIVEBLOCKS_SECRET_KEY environment variable as asecret.

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp