Slate Yjs Example project - Live Demo
Demo app for slate-yjs
Example ported from slate-collaborative
Clone this repository and run npm install
as usual.
Open two terminals and execute the following commands:
npm run start:server
npm run start:cra
To build the application, run npm run build
.
If you directly see some line break errors by prettier, make sure to handle your line ending correctly (on Windows). Set the configuration of git and your local editor (e.g. (VS Code)[https://medium.com/@csmunuku/windows-and-linux-eol-sequence-configure-vs-code-and-git-37be98ef71df#:~:text=VS%20Code%20%3D%3E%20Settings%20%3D%3E,new%20files%20that%20you%20create.]) correctly.
Take a look at the y-websocket readme