New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-aliplayer-v3

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-aliplayer-v3 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -18,3 +18,3 @@ {

},
"version": "1.0.0",
"version": "1.0.1",
"repository": {

@@ -21,0 +21,0 @@ "type": "git",

@@ -11,21 +11,7 @@ # vue-alipayer-v3 (只支持vue3)- 主要代码来源 https://github.com/langyuxiansheng/vue-aliplayer-v2

```bash
npm i vue-aliplayer-v2 --save
npm i vue-aliplayer-v3 --save
or
yarn add vue-aliplayer-v2
yarn add vue-aliplayer-v3
```
#### 全局注册 main.js
```javascript
import VueAliplayerV2 from 'vue-aliplayer-v2';
Vue.use(VueAliplayerV2);
//可选全局配置
//Vue.use(VueAliplayerV2,{
// cssLink: 'https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css',
// scriptSrc: 'https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js'
//});
```
#### 局部注册 App.vue

@@ -36,8 +22,4 @@

//推荐第一种(仅v1.2.3)及以上的版本可用
import VueAliplayerV2 from 'vue-aliplayer-v2';
components:{ VueAliplayerV2 }
//或者
components:{ VueAliplayerV2: VueAliplayerV2.Player }
import { AliPlayerV3 } from "vue-aliplayer-v3";
components:{ AliPlayerV3 }
```

@@ -44,0 +26,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc