uploader-for-alioss

0.0.8 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.80latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i uploader-for-alioss

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

35.1 kB

Total Files

3

Last publish

Collaborators

  • hugeface