0.1.9 • Published 12 months ago
react-shogi v0.1.9
react-shogi
Shogi library for react user
デモサイト: https://ekusiadadus.github.io/react-shogi/
使い方
<ShogiGame
KIF={`1 2六歩(27) (00:00/00:00:00)
2 8四歩(83) (00:00/00:00:00)`}
/>
将棋盤を静的なサイトに埋め込む
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>example</title>
</head>
<script
id="shogi"
type="text/javascript"
async
src="../dist/embedded-shogi.umd.cjs"
></script>
<script type="text/javascript">
const script = document.getElementById("shogi")
script.addEventListener("load", () => {
globalThis.run()
})
</script>
開発者向け
インストール
$ pnpm install
立ち上げ
$ pnpm dev
ビルド
$ pnpm build
組み込み
$ pnpm build:shogi
ライブラリ
$ pnpm build:lib
0.1.9
12 months ago
0.1.8
12 months ago
0.1.7
12 months ago
0.1.6
12 months ago
0.1.5
12 months ago
0.1.4
12 months ago
0.1.3
12 months ago
0.1.2
12 months ago
0.1.1
12 months ago
0.1.0
12 months ago
0.0.9
12 months ago
0.0.8
12 months ago
0.0.7
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago
0.0.1
12 months ago
0.0.0
12 months ago