项目作者: sombriks

项目描述 :
yet another vue image upload component
高级语言: Vue
项目地址: git://github.com/sombriks/vue-img-upload.git
创建时间: 2017-04-14T19:26:11Z
项目社区:https://github.com/sombriks/vue-img-upload

开源协议:

下载


vue-img-upload

yet another vue image upload component

  • preview
  • available on npm
  • single image per tag
  • offer resize options
  • offer basic portrait/landscape support
  • offer direct upload options
  • accepting PR’s

Installation

  1. npm install croppie --save
  2. // all othe dependecies
  3. npm install vue-img-upload --save

Basic usage

  1. require("../node_modules/croppie/croppie.css")
  2. const VueImgUpload = require("vue-img-upload")
  3. Vue.use(VueImgUpload)
  4. // now you can use either vue-img-ipload or vue-img-dialog-upload components on your application

TODO

  • see how to make it dance well with browserify and webpack. just browserify for the moment
  • make it even simpler
  • ~server side project to test upload capabilities~ see https://github.com/sombriks/viu-up-tester
  • MIT license