https://github.com/brianhung/tldraw-reflect-yjs
An example of using tldraw together with reflect, with yjs for codeblocks and textblocks.
https://github.com/brianhung/tldraw-reflect-yjs
codemirror prosemirror reflect tldraw yjs
Last synced: 28 days ago
JSON representation
An example of using tldraw together with reflect, with yjs for codeblocks and textblocks.
- Host: GitHub
- URL: https://github.com/brianhung/tldraw-reflect-yjs
- Owner: BrianHung
- Created: 2024-02-28T09:11:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T21:01:29.000Z (over 2 years ago)
- Last Synced: 2024-04-14T03:12:56.620Z (about 2 years ago)
- Topics: codemirror, prosemirror, reflect, tldraw, yjs
- Language: TypeScript
- Homepage: https://tldraw-reflect-yjs.vercel.app
- Size: 80.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tldraw-reflect-example
This repository shows how you might use [tldraw](https://github.com/tldraw/tldraw) together with the [reflect](https://reflect.net/) library.
## Develop
```
npm run dev
npx reflect dev // in separate terminal
```
## Publish
```
npx reflect publish // modify .env VITE_REFLECT_SERVER
```