Narcoleptic Pony Machine
Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

wepy-plugin-aliyun-oss

1.2.10 • Public • Published

wepy-plugin-aliyun-oss

A plugin for wepy is used to upload images to aliyun-oss

Install

yarn add wepy-plugin-aliyun-oss --dev

Usage

module.exports = {
  ...
  plugins: {
    'aliyun-oss': {
      oss: {
        accessKeyId: 'accessKeyId',
        accessKeySecret: 'accessKeySecret',
        bucket: 'xmpt-sit',
        endpoint: 'https://oss-cn-shenzhen.aliyuncs.com',
        region: 'oss-cn-shenzhen'
      },
      config: { debugMode: false, time: false },
    },
  },
  ...
}

Install

npm i wepy-plugin-aliyun-oss

DownloadsWeekly Downloads

37

Version

1.2.10

License

MIT

Unpacked Size

271 kB

Total Files

21

Last publish

Collaborators

  • avatar