@itchenliang/picture-rollup-cloudflare-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

LightFastPicture Plugin: Cloudflare-Images

概述

使用rollup打包的轻快图片管理系统的Cloudflare-images图片上传插件

配置

  1. 获取accountId
  • 1.1、注册并使用Cloudflare Images 202312111711083462.png
  • 1.2、Add Storage 202312111711301537.png
  • 1.3、Confirm Payment 202312111711427474.png
  • 1.4、Copy and get accountId in the left sidebar 202312111711549617.png
  1. 获取apiToken
  • 2.1、Create Token 202312111713028087.png
  • 2.2、Get started 202312111713103685.png
  • 2.3、Enter your token name --> Permissions -> Select 'Cloudflare Images' -> Select 'Edit' 202312111713431632.png
  • 2.4、Create Token 202312111714025502.png
  • 2.5、Copy & Save your token 202312111714142094.png
  1. 获取variantName
  • 3.1、Click 'Variants' in the left sidebar
  • 3.2、Copy/Add one of the Variants(Default name is 'public') 202312111714556069.png
  1. 将上面复制的accountIdapiTokenvariantName填充到对应输入框中

Package Sidebar

Install

npm i @itchenliang/picture-rollup-cloudflare-plugin

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

22.7 kB

Total Files

18

Last publish

Collaborators

  • it-chenliang