mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-05 19:41:39 +08:00
10 lines
278 B
JavaScript
10 lines
278 B
JavaScript
// packages / index.js
|
|
// 导入单个组件
|
|
import VueAliplayerV2 from './AliplayerV2';
|
|
// 定义 install 方法
|
|
VueAliplayerV2.install = (Vue) =>{
|
|
Vue.component(VueAliplayerV2.name, VueAliplayerV2)
|
|
};
|
|
VueAliplayerV2.Player = VueAliplayerV2;
|
|
export default VueAliplayerV2;
|