zoomment widget
v1.2.0
500kb 未満のウェブサイトへのコメントと反応。
Zoomment をロードしたい場所に次のコードを配置します。
<!-- for the comment section -->
< div
id =" zoomment "
data-theme =" light "
data-language =" en "
data-emotions =" ❤️,?,?,?,,?,?,? "
> </ div >
<!-- the working script -->
< script src =" https://cdn.zoomment.com/zoomment.min.js " > </ script > オプションは、コメント セクションのデータ属性を介して渡すことができます。
| 属性名 | 可能な値 |
|---|---|
| データテーマ | 明るい、暗い、黒 |
| データ言語 | エン、ヒ、ヒ、ル、ジ |
| データ感情 | カンマ区切りの絵文字をリストします。必要ない場合は空のままにしてください |
$ git clone https://github.com/zoomment/zoomment-widget.git
$ cd zoomment-widget
$ npm install
$ npm start
http://localhost:1234 を開いてブラウザで表示します。
$ npm run build