npm install live-cat-vue --save
或者
yarn add live-cat-vue
import { LivePlayer } from "live-cat-vue";
components: { LivePlayer },
<live-player :appKey="xxxxx"></live-player>
import LivePlayer from "live-cat-vue";
Vue.use(liveCat)
<live-player :appKey="xxxxx"></live-player>
名称 | 类型 | 默认 | 描述 |
---|---|---|---|
appKey | String | '' | 应用key |
address | String | https://app.3dcat.live | 地址 |