集成
安装
sh
npm i wukongimjssdk
sh
yarn add wukongimjssdk
sh
pnpm add wukongimjssdk
sh
bun add wukongimjssdk
引入
js
import WKSDK from "wukongimjssdk"
js
const WKSDK = require("wukongimjssdk").default
js
<script src="https://cdn.jsdelivr.net/npm/wukongimjssdk@1.2.6/lib/wukongimjssdk.umd.js"></script>
通过<script>标签引入使用必须都加前缀 wk, 例如 wk.WKSDK.shared()