适用于PhotoEditor SDK的Vue.js插件

本文档介绍了如何在Vue.js项目中使用Vue-Pesdk插件集成PhotoEditor SDK,包括安装、基本用法、属性配置、事件监听以及指定可用的对焦模式等详细步骤。通过这个插件,可以简化在Vue应用中使用PhotoEditor SDK的过程。
摘要由CSDN通过智能技术生成

Vue-Pesdk (vue-pesdk)

PhotoEditor SDK is a product of 9elements GmbH. In order to use PhotoEditor SDK inside one of your products, you will need a valid a license.

PhotoEditor SDK是9elements GmbH的产品。 为了在其中一种产品中使用PhotoEditor SDK,您将需要有效的许可证。

🔧安装 (🔧 Installation)

yarn add vue-pesdk photoeditorsdk react react-dom
or
npm i -D vue-pesdk photoeditorsdk react react-dom

photoeditorsdk, react and react-dom are peerDependencies and are needed to render the PhotoEditorSDK UI. In addition you need the PhotoEditor SDK assets. You can either get them here or copy it from your node_modules into your public asset folder. And set the assetPath prop to this folder.

photoeditorsdkreactreact-dom是peerDependencies,是呈现PhotoEditorSDK UI所必需的。 另外,您需要PhotoEditor SDK资产。 您可以在此处获取它们,也可以将其从node_modules复制到公共资产文件夹中。 并将assetPath设置为此文件夹。

If you scaffold your project with Vue CLI you can just cp the asset folder from node_modules.

如果使用Vue CLI node_modules项目,则只需从node_modules cp资产文件夹node_modules

cp -r node_modules/photoeditorsdk/assets/ ~/projects/your-project/static/

If needed, take a look at the official documentation for further information.

如果需要

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值