1.0.1 • Published 2 years ago
@itchenliang/picture-rollup-cloudflare-plugin v1.0.1
LightFastPicture Plugin: Cloudflare-Images
概述
使用rollup打包的轻快图片管理系统的Cloudflare-images图片上传插件
配置
- 获取accountId
- 1.1、注册并使用Cloudflare Images

- 1.2、Add Storage

- 1.3、Confirm Payment

- 1.4、Copy and get accountId in the left sidebar

- 获取apiToken
- 2.1、Create Token

- 2.2、Get started

- 2.3、Enter your token name --> Permissions -> Select 'Cloudflare Images' -> Select 'Edit'

- 2.4、Create Token

- 2.5、Copy & Save your token

- 获取variantName
- 3.1、Click 'Variants' in the left sidebar
- 3.2、Copy/Add one of the Variants(Default name is 'public')

- 将上面复制的
accountId、apiToken、variantName填充到对应输入框中