Skip to content

Commit

Permalink
CDNの利用先をjsdelivrに変更と微修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinhalite committed Apr 24, 2024
1 parent 0513171 commit 2ce277b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ $ yarn add microcms-js-sdk
#### Browser(Self-hosting)

Download and unzip `microcms-js-sdk-x.y.z.zip` from the [releases page](https://github.com/microcmsio/microcms-js-sdk/releases). Then, host it on any server of your choice and use it.
The target file is `./dist/umd/microcms-js-sdk.js`.
Download and unzip `microcms-js-sdk-x.y.z.tgz` from the [releases page](https://github.com/microcmsio/microcms-js-sdk/releases). Then, host it on any server of your choice and use it. The target file is `./dist/umd/microcms-js-sdk.js`.

```html
<script src="./microcms-js-sdk.js"></script>
Expand All @@ -37,11 +36,11 @@ The target file is `./dist/umd/microcms-js-sdk.js`.
Please load and use the URL provided by an external provider.

```html
<script src="https://unpkg.com/microcms-js-sdk@3.1.0/dist/umd/microcms-js-sdk.js"></script>
<script src="https://cdn.jsdelivr.net/npm/microcms-js-sdk@3.1.0/dist/umd/microcms-js-sdk.min.js"></script>

or

<script src="https://unpkg.com/microcms-js-sdk@latest/dist/umd/microcms-js-sdk.js"></script>
<script src="https://cdn.jsdelivr.net/npm/microcms-js-sdk/dist/umd/microcms-js-sdk.min.js"></script>
```

> [!WARNING]
Expand Down

0 comments on commit 2ce277b

Please sign in to comment.