https://github.com/cofficlab/juiceeditor-draw
https://github.com/cofficlab/juiceeditor-draw
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cofficlab/juiceeditor-draw
- Owner: CofficLab
- Created: 2024-10-21T05:29:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T09:58:13.000Z (over 1 year ago)
- Last Synced: 2024-10-24T10:46:27.541Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://cofficlab.github.io/en/juiceEditor
- Size: 47.5 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JuiceEditor-Draw

## Important
This project cannot work independently. It is an extension package for JuiceEditor.
Please read the JuiceEditor documentation first: [JuiceEditor](https://cofficlab.github.io/en/juiceEditor/documents/components/image.html#draw-a-picture)
## Installation
1. Install package:
```bash
npm i @coffic/juice-editor
npm i @coffic/juice-editor-draw
```
2. Copy components to project directory:
```bash
rm -rf ./public/draw
cp -rf node_modules/@coffic/juice-editor-draw/dist ./public/draw
```
3. Configure editor:
```typescript
editor.setDrawLink('http://localhost:5173/drawio/webapp/index.html?');
```
## Related Projects
- [JuiceEditor](https://github.com/CofficLab/JuiceEditor)
- [JuiceEditor-Draw](https://github.com/CofficLab/JuiceEditor-Draw)
- [JuiceEditor-SwiftUI](https://github.com/cofficlab/JuiceEditor-SwiftUI)
- [JuiceEditor-Examples](https://github.com/cofficlab/JuiceEditor-Examples)
- [JuiceEditor-Playground](https://github.com/cofficlab/JuiceEditor-Playground)
## Contributing
Contributions are welcome! Please submit Pull Requests or report issues.
## License
This project is licensed under the MIT License.