Comments (5)
为什么是vue,我要react
from simple-crop.
@fengmumu1 react 已经有了
from simple-crop.
建议将react,vue分开发布到npm上,现在通过npm install simple-crop安装是把整个工程下到node_modules里,还要进入到node_modules内的simple-crop模块安装依赖,另外如果在裁剪回调
cropCallback中加入裁剪的canvas转化成base64的图片就更完美了@newbieYoung
from simple-crop.
@bromiao react和vue版本都是基于原生js版本的实现方式,vue和react代码量并不多;base64等其它格式需要使用者自己转换;依赖问题,我本周末试一下。
from simple-crop.
@bromiao 因为 simple-crop 即支持 vue 也支持 react 还准备支持其它的,因此 vue 和 react 的库并没有加入到 dependencies 中,当你 npm install simple-crop 之后,如果是 vue 开发则需要自己安装 vue 相关类库(在你自己项目的根目录,而不是 node_modules 内的 simple-crop 中安装 ),如果是 react 则需要自己安装 react 相关类库。
from simple-crop.
Related Issues (20)
- IOS微信小程序不显示图片 HOT 7
- 希望能有Taro版本
- 可以支持手动调整截图框的大小么? HOT 2
- IOS14.0.1微信小程序选择照片,不显示图片。 HOT 14
- 小程序端不能加载网络图片 HOT 2
- 页面一开始加载图片,图片会被压缩变形这个怎么解决 HOT 3
- 【小程序】iOS选取图片和拍照选取后,图片无法加载的问题。 HOT 8
- 有没有支持vue3的版本 HOT 1
- 小程序裁剪之后无法自动关闭 HOT 1
- 请问引入时报错缺乏对应的loader? HOT 1
- iPhone8 plus无法加载 HOT 5
- 是否可以支持自由描边? HOT 3
- 小程序版本在IOS中,选择图片超过1024*1024显示不出来。 HOT 2
- Circle HOT 1
- pc端加载网络图片报跨域问题 HOT 2
- 此版本在ipad这样的尺寸,横屏使用的场景,没有得到很好的兼容,希望作者尽快能优化一下 HOT 1
- 能设置裁切比例吗 HOT 1
- 请问怎么去掉这项功能,有参数设置吗(支持边界判断、当裁剪框里出现空白时,图片自动吸附至完全填满裁剪框) HOT 1
- 小程序版本不可调整裁减比例 HOT 1
- 希望能有taro-vue3版本 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-crop.