Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lurunze1226 committed Jan 9, 2023
1 parent 166c809 commit f631658
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ Baidu Cloud Engine JavaScript SDK

## 通过NPM安装
```shell
npm install @baiducloud/sdk
npm install @baiducloud/sdk
```

## 通过CDN引用

`${version}`处使用版本号替换,比如`1.0.0-rc.37`


```html
<script src="https://bce.bdstatic.com/lib/@baiducloud/sdk/1.0.0-rc.36/baidubce-sdk.bundle.min.js" ></script>
<script src="https://bce.bdstatic.com/lib/@baiducloud/sdk/${version}/baidubce-sdk.bundle.min.js" ></script>
```

0 comments on commit f631658

Please sign in to comment.