Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 692 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 692 Bytes
ylWLvB4vAo.mp4

Svelte runes + Liveblocks demo

This demo shows you how to build a real-time drawing with Svelte 5 runes and Liveblocks.

Set up Liveblocks

  • Install all dependencies with npm install
  • Create an account on liveblocks.io
  • Copy your public key from the dashboard
  • Create an .env.local file and add your public key as the PUBLIC_LIVEBLOCKS_PUBLIC_KEY environment variable
  • Run npm run dev and go to http://localhost:5173