Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
docs: add demo of wedding-card
Browse files Browse the repository at this point in the history
  • Loading branch information
hal-wang committed Apr 22, 2021
1 parent d8c1a67 commit 2a49e2b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@ npm i @hal-wang/cloudbase-access

线上示例:<https://todo.hal.wang>

一键部署:
[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgit.luolix.top%2Fhal-wang%2Ftodo&branch=main)
一键部署:[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgit.luolix.top%2Fhal-wang%2Ftodo&branch=main)

### short-url

使用自己的域名简化链接,详情请查看 <https://github.com/hal-wang/short-url>

线上示例:<https://s.hal.wang>

一键部署:
[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgit.luolix.top%2Fhal-wang%2Fshort-url&branch=main)
一键部署:[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgit.luolix.top%2Fhal-wang%2Fwedding-card&branch=main)

### 单元测试
### wedding-card

你也可以查看本项目 `test` 文件夹中的一些单元测试
网络喜帖,能够生成邀请二维码。详情请查看 <https://github.com/hal-wang/wedding-card>

## 建议
线上示例:<https://wedding.hal.wang>

强烈建议使用 `typescript` 并生成 `javascript` 代码后上传,可参考 <https://todo.hal.wang/docs>,做法是 ts 生成 js 文件,并删除 `.d.ts` 文件。
一键部署:[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgit.luolix.top%2Fhal-wang%2Fshort-url&branch=main)

## 关于 CBA 的建议

强烈建议使用 `typescript` 并生成 `javascript` 代码后上传,可参考以上示例,做法是 ts 生成 js 文件,并用脚本删除 `.d.ts` 文件。

理论上 `javascript` 完全没问题,但作者并未进行测试。

Expand Down

0 comments on commit 2a49e2b

Please sign in to comment.