wepy-plugin-aliyun-oss
TypeScript icon, indicating that this package has built-in type declarations

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 },
    },
  },
  ...
}

Dependencies (3)

Dev Dependencies (18)

Package Sidebar

Install

npm i wepy-plugin-aliyun-oss

Weekly Downloads

1

Version

1.2.10

License

MIT

Unpacked Size

271 kB

Total Files

21

Last publish

Collaborators

  • jerexyz