https://github.com/sombriks/vue-img-upload
yet another vue image upload component
https://github.com/sombriks/vue-img-upload
img upload vue
Last synced: 6 months ago
JSON representation
yet another vue image upload component
- Host: GitHub
- URL: https://github.com/sombriks/vue-img-upload
- Owner: sombriks
- Created: 2017-04-14T19:26:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T17:48:53.000Z (about 7 years ago)
- Last Synced: 2025-03-28T04:41:43.863Z (6 months ago)
- Topics: img, upload, vue
- Language: Vue
- Homepage: https://sombriks.github.io/vue-img-upload/
- Size: 471 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-img-upload
yet another vue image upload component
- [preview](https://sombriks.github.io/vue-img-upload/)
- [available on npm](https://www.npmjs.com/package/vue-img-upload)
- single image per tag
- offer resize options
- offer basic portrait/landscape support
- offer direct upload options
- **accepting PR's**## Installation
```bash
npm install croppie --save
// all othe dependecies
npm install vue-img-upload --save
```## Basic usage
```javascript
require("../node_modules/croppie/croppie.css")const VueImgUpload = require("vue-img-upload")
Vue.use(VueImgUpload)
// 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## Copyright
- MIT license