
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
vue-luck-draw
Advanced tools
| 适配框架 | npm包 | npm下载量 | CDN使用量 |
|---|---|---|---|
JS / JQ | lucky-canvas | ||
Vue2.x / Vue3.x | vue-luck-draw | ||
React | react-luck-draw | ||
UniApp | uni-luck-draw | / | |
Taro3.x | taro-luck-draw | / | |
微信小程序 | mini-luck-draw | / |
English:If anyone can help translate the document, please contact me
ldq404@qq.com
# 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
width="200px"
height="200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<LuckyGrid
width="200px"
height="200px"
...你的配置
/>
</div>
</template>
为了避免 CDN 链接出现异常或波动,我非常建议你缓存到本地或服务器(✿◡‿◡)
vue2.x: https://cdn.jsdelivr.net/npm/vue-luck-draw@3.4.6/dist/vue-luck-draw.umd.min.js
vue3.x: https://cdn.jsdelivr.net/npm/vue-luck-draw@3.4.6/vue3/vue-luck-draw.umd.min.js
<div id="app">
<!-- 大转盘抽奖 -->
<lucky-wheel
width="200px"
height="200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<lucky-grid
width="200px"
height="200px"
...你的配置
/>
</div>
<script src="./vue.min.js"></script>
<script src="./vue-luck-draw.umd.min.js"></script>
<script>
new Vue({
el: '#app',
data () {
return {}
}
})
</script>
star ☜(゚ヮ゚☜)FAQs
一个支持 vue2 / vue3 的(大转盘抽奖 / 九宫格抽奖)luckydraw 插件
The npm package vue-luck-draw receives a total of 74 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.