0.0.8 • Published 4 years ago

uploader-for-alioss v0.0.8

Weekly downloads
8
License
MIT
Repository
-
Last release
4 years ago

ali-oss-uploader(阿里云文件上传)

A multiple file uploader based Ali OSS to help you upload file simply and be clearly on progress.

Installation

Using npm:

npm install --save ali-oss-uploader

Usage

In main.js, import it and call the Vue.use() global method:

import AliOssUploader from 'ali-oss-uploader'

Vue.use(AliOssUploader)

Used in Vue file:

<ali-oss-uploader
  region="oss region"
  accessKeyId="your accessKeyId"
  accessKeySecret="your accessKeySecret"
  bucket="your bucket name"
  successCallback="success handler"
  failedCallback="failed handler"
  allFinishedCallback="finished handler"
  >
</ali-oss-uploader>

Necessary parameters:

  • region: oss region
  • accessKeyId: your accessKeyId
  • accessKeySecret: your accessKeySecret
  • bucket: your bucket name

Example

examplePic

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago