プロジェクト
概要
A Vue2 plugin make files upload simple and easier, single file upload with image preview, multiple upload with drag and drop
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
v-uploader
A Vue2 plugin make files upload simple and easier,
single file upload with image preview, multiple upload with drag and drop
Examples and Documentation
Explorer on
Plugin preview
Single file upload with image preview

Multiple files upload with drag and drop

Installation
npm i v-uploader -S
Include and install plugin in your main.js file.
import Vue from 'vue'
import Uploader from 'v-uploader'
import { DialogAlert } from 'v-dialogs'
/**
* v-uploader plugin global config
*/
const uploaderConfig = {
uploadFileUrl: 'https://some-site/upload',
deleteFileUrl: 'https://some-site/delete',
showMessage: (vue, message) => {
// using v-dialogs to display error message
DialogAlert(message, { messageType: 'error' })
}
}
// Globally install plugin with options
Vue.use(Uploader, uploaderConfig)
Use v-dialogs plugin to display message for example
Dependencies
License
関連プロジェクトを探す
読み込み中…