A vue3 pinia plugin for high performance real-time collaboration, huge data rendering on time. base on yjs.
feats:
-
real-time collaboration
-
multi pinia store support
-
undo/redo combine multi store
Install and run:
pnpm install
pnpm dev
Use with custom websocket server:
-
Download y-websocket and start.
-
Change
collaborateStore.ts
connection config:
{
websocketConfig: {
// serverUrl: 'wss://demos.yjs.dev/ws',
serverUrl: 'ws://localhost:1234',
// ...
}
}