https://github.com/CTNicholas/svelte-runes-realtime-drawing/assets/33033422/e6da7705-c4f7-4e93-8498-5c20c225429d
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