You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,9 @@ It helps you to use microCMS from JavaScript and Node.js applications.
8
8
9
9
### Install
10
10
11
-
Install npm package.
11
+
#### Node.js
12
12
13
-
> [!IMPORTANT]
14
-
> v3.0.0 or later requires Node.js **v18 or higher**.
13
+
Install npm package.
15
14
16
15
```bash
17
16
$ npm install microcms-js-sdk
@@ -21,17 +20,32 @@ or
21
20
$ yarn add microcms-js-sdk
22
21
```
23
22
24
-
> [!WARNING]
25
-
> The hosting service (unpkg.com) is not related to microCMS. For production use, we recommend self-hosting on your own server.
23
+
> [!IMPORTANT]
24
+
> v3.0.0 or later requires Node.js **v18 or higher**.
25
+
26
+
#### Browser(Self-hosting)
27
+
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`.
0 commit comments