Skip to content

Commit 2ce277b

Browse files
committed
CDNの利用先をjsdelivrに変更と微修正
1 parent 0513171 commit 2ce277b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ $ yarn add microcms-js-sdk
2525
2626
#### Browser(Self-hosting)
2727

28-
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.
29-
The target file is `./dist/umd/microcms-js-sdk.js`.
28+
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`.
3029

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

3938
```html
40-
<script src="https://unpkg.com/[email protected]/dist/umd/microcms-js-sdk.js"></script>
39+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/microcms-js-sdk.min.js"></script>
4140

4241
or
4342

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

4746
> [!WARNING]

0 commit comments

Comments
 (0)