
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
vue-luck-draw
Advanced tools
# npm 安装:
npm install vue-luck-draw
# yarn 安装:
yarn add vue-luck-draw
main.js
引入插件并 use
// vue2.x
import LuckDraw from 'vue-luck-draw'
Vue.use(LuckDraw)
// vue3.x
import LuckDraw from 'vue-luck-draw/vue3'
createApp(App).use(LuckDraw).mount('#app')
<LuckyWheel />
大转盘组件 或 <LuckyGrid />
九宫格组件<template>
<div>
<!-- 大转盘抽奖 -->
<LuckyWheel
style="width: 200px; height: 200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<LuckyGrid
style="width: 200px; height: 200px"
...你的配置
/>
</div>
</template>
从下面的链接里下载一个叫luckdraw.umd.min.js
的 js 文件, 然后使用 script 标签引入
<div id="app">
<!-- 大转盘抽奖 -->
<lucky-wheel
style="width: 200px; height: 200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<lucky-grid
style="width: 200px; height: 200px"
...你的配置
/>
</div>
<script src="./vue.min.js"></script>
<script src="./luckdraw.umd.min.js"></script>
<script>
new Vue({
el: '#app'
})
</script>
FAQs
一个支持 vue2 / vue3 的(大转盘抽奖 / 九宫格抽奖)luckydraw 插件
The npm package vue-luck-draw receives a total of 35 weekly downloads. As such, vue-luck-draw popularity was classified as not popular.
We found that vue-luck-draw demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.