-
安装 npm install your-image-editor-pkg
-
引入样式 import 'your-image-editor-pkg/dist/style.css';
-
在 Vue 中使用 <ImageEditor :image-url="currentImage" :config="{ aiBaseUrl: 'https://my-api.com' }" @save="onSave" />
安装 npm install your-image-editor-pkg
引入样式 import 'your-image-editor-pkg/dist/style.css';
在 Vue 中使用 <ImageEditor :image-url="currentImage" :config="{ aiBaseUrl: 'https://my-api.com' }" @save="onSave" />