Need private packages and team management tools?Check out npm Teams »

vue-oss

0.1.5 • Public • Published

安装

npm

npm install vue-oss --save-dev

yarn

yarn add vue-oss --dev

package.json的scripts中加上如下

 "upload": "node ./node_modules/vue-oss/bin/index.js"

运行

yarn run upload 或者npm run upload

参数

参数名 说明
targetDir 指定上传的目录名称(默认为/)
region oss的region
accessKeyId oss的accessKeyId
accessKeySecret oss的accessKeySecret
bucket oss的bucket
isNuxt 是否是nuxt编译后的包

Install

npm i vue-oss

DownloadsWeekly Downloads

1

Version

0.1.5

License

ISC

Unpacked Size

111 kB

Total Files

6

Last publish

Collaborators

  • avatar