Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 676 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 676 Bytes

artplayer-vue

Vue Component for Artplayer, It is recommended to package itself according to actual business needs.

Demo

Checkout the demo from Codesandbox

Install

Install with npm

$ npm install artplayer-vue

Or install with yarn

$ yarn add artplayer-vue

Usage

import ArtplayerComponent from 'artplayer-vue';
import 'artplayer-vue/dist/artplayer-vue.css';

// ...
<ArtplayerComponent
    :option="{
        // option, no 'container' property required
    }"
    @getInstance="ins => console.log(ins)" // get the instance
/>;

License

MIT © Harvey Zack