Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@nutui/nutui
Advanced tools
基于Vue 2.0的移动端轻量级UI组件库
使用npm安装NutUI
npm install @nutui/nutui --save
1,在入口文件(如app.js)中引入
import NutUI from '@nutui/nutui'
2,初始化
NutUI.install(Vue)
通过以上步骤即可完成整个NutUI组件库的安装。
本组件库支持自定义构建(1.1.0版本以上),您可以根据需要只打包部分组件。
1,在NutUI项目目录下执行
npm install
2,执行自定义构建命令
npm run custom
3, 在出现的组件列表中,选择所有您需要打包的组件,然后按下回车键即开始构建
4,片刻之后,自定义构建出的nutui.js文件会出现在dist目录下
5,在项目中引入和初始化的操作同上
如遮罩层(Mask)组件,直接使用nut-mask标签即可
<nut-mask :visible.sync="maskShow"><nut-mask>
如对话框(Dialog)组件
this.$dialog(options);
提示框(Toast)组件
this.$toast(msg,during);
每个组件的使用方式请参考具体组件文档。
FAQs
京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)
The npm package @nutui/nutui receives a total of 929 weekly downloads. As such, @nutui/nutui popularity was classified as not popular.
We found that @nutui/nutui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.