A Stylish avatar upload field component for Vue 2.0
Vue Thumb is a minimalistic and stylish image uploader with a thumbnail view for VueJs.
# npm
npm install vue-thumb
# yarn
yarn add vue-thumb
import VueThumb from "vue-thumb";
Vue.use(VueThumb);
Option | Possible Values | Description |
---|---|---|
name | String | Name of input file |
default | String | Default image to view |
size | Numeric | Size of images |
You can simply clone this repo and open up a working test app by running:
npm run serve
Navigate to http://localhost:8080/