@itchenliang/picture-rollup-gitee-plugin
v1.0.5
Published
轻快图片管理系统的插件:使用rollup开发的Gitee图片上传插件
Downloads
29
Readme
概述
使用rollup打包的轻快图片管理系统的Gitee图片上传插件
字段说明
存储桶名称: 此字段可自定义填写,仅用于页面上展示
用户名: Gitee用户名
仓库名称: Gitee仓库名称
分支: Gitee仓库分支,默认为master
私人令牌: Gitee私人令牌
存储路径: Gitee存储路径,想要把图片存储在空间的什么位置,例如:img/
自定义路径: Gitee路径格式
配置
- 注册并登录Gitee官网
- 在右上角的+号处,点击“新建仓库”
- 按照要求填写仓库名称、地址以及仓库说明
- 获取token(私人令牌)
- 在你的gitee头像处,进入设置。点击左侧的私人令牌,如下图
- 点击【生成新令牌】。先取消全选,再勾选projects,然后提交。
- 复制生成的令牌并保存好,因为该窗口关闭后,将无法再查看该私人令牌。
- 存储桶配置
- 首先需要到【插件市场】安装Gitee插件
- 然后到【存储桶】页面中点击新建存储桶,按照要求填写相关信息即可
- 最后点击确定即可完成创建