This project cannot work independently. It is an extension package for JuiceEditor.
Please read the JuiceEditor documentation first: JuiceEditor
-
Install package:
npm i @coffic/juice-editor npm i @coffic/juice-editor-draw
-
Copy components to project directory:
rm -rf ./public/draw cp -rf node_modules/@coffic/juice-editor-draw/dist ./public/draw
-
Configure editor:
editor.setDrawLink('http://localhost:5173/drawio/webapp/index.html?');
Contributions are welcome! Please submit Pull Requests or report issues.
This project is licensed under the MIT License.