-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
写得不错。包装成vue然后发布到Npm应该会更多星 #1
Comments
为什么是vue,我要react |
@fengmumu1 react 已经有了 |
建议将react,vue分开发布到npm上,现在通过npm install simple-crop安装是把整个工程下到node_modules里,还要进入到node_modules内的simple-crop模块安装依赖,另外如果在裁剪回调 |
@bromiao react和vue版本都是基于原生js版本的实现方式,vue和react代码量并不多;base64等其它格式需要使用者自己转换;依赖问题,我本周末试一下。 |
@bromiao 因为 simple-crop 即支持 vue 也支持 react 还准备支持其它的,因此 vue 和 react 的库并没有加入到 dependencies 中,当你 npm install simple-crop 之后,如果是 vue 开发则需要自己安装 vue 相关类库(在你自己项目的根目录,而不是 node_modules 内的 simple-crop 中安装 ),如果是 react 则需要自己安装 react 相关类库。 |
写得不错。包装成vue然后发布到Npm应该会更多星
The text was updated successfully, but these errors were encountered: