Image upload component that simulates Github issues based on Vue.js 1.0
paste
events, support browsers: caniuse Pastedrop
drag
eventschange
eventdev-upload.js
Based express
upload service developers to write with pictures, images stored locally, start-up modenpm run dev
koa-es6-server.js
Based on the picture upload service written by koa es6
, the picture is saved locally, the startup methodnpm run koa
lean-server.js
Based on express
written leancloud the Node server, upload the pictures stored in leancloud leancloud-code documentation# install dependencies
npm install
# serve with hot reload at localhost:3002
npm run dev
# build for production with minification
npm run build
# run koa server
npm run koa
# Installation lean tools
npm install -g leancloud-code
npm RUN Build
lean the Add < App > < App-the above mentioned id >
# released a beta
lean Deploy # issued a formal
lean publish
Author: xiaokaike
Live Demo: http://upload.leanapp.cn/
GitHub: https://github.com/xiaokaike/magic-upload-image
#vuejs #vue #javascript #vue-js