flutter_web_cos_upload_plugin 1.0.2 copy "flutter_web_cos_upload_plugin: ^1.0.2" to clipboard
flutter_web_cos_upload_plugin: ^1.0.2 copied to clipboard

A sub plug-in of flutter_web_optimizer,used to upload resources to cos

Intro #

A sub plug-in of flutter_web_optimizer,used to upload resources to cos

Features #

upload flutter web build artifact to tencent cos,such as image,javascript file and etc

Getting started #

dev_dependencies:
  flutter_web_cos_upload_plugin: ^1.0.2

Usage #

flutter_web_cos_upload_plugin.yaml

cos:
  config:
    appId: 'xxx'
    secretId: 'xxx'
    secretKey: 'xxx'
  bucketName: 'xxx'
  region: 'xxx'
  1. copy flutter_web_cos_upload_plugin.yaml to your project root directory
  2. fill in the correct appId,secretId,secretKey,bucketName and region
  3. execute flutter pub run flutter_web_optimizer optimize --asset-base xxx --plugin flutter_web_cos_upload_plugin command
  4. then the resources will be uploaded to tencent cos
1
likes
130
pub points
30%
popularity

Publisher

verified publisheryiqimanbu.cn

A sub plug-in of flutter_web_optimizer,used to upload resources to cos

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter_web_optimizer, package_config, path, tencent_cos_plus, yaml

More

Packages that depend on flutter_web_cos_upload_plugin