
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@skit/x.naive-ui
Advanced tools
一个对 Naive-UI 组件库的扩展,使 DataTable/Dropdown/Menu/Select/Tree 等组件支持插槽模板式的写法。An extension to Naive-UI component library, that enables slots and template style API for DataTable/Dropdown/Menu/Select/Tree.
一个对 Naive-UI 组件库的扩展。
使 DataTable / Dropdown / Menu / Select / Tree 等组件支持插槽模板式的写法。
简体中文 | English
Naive-UI 是一个流行的 Vue 3 组件库。
官方团队出于可维护性的考虑,没有提供 DataTable、Dropdown、Menu、Select、Cascader、Tree、TreeSelect 等组件的 Slot 插槽或 Template 模板式的写法支持。
以下是 GitHub 上的一些相关 Issues:
本项目旨在为上述问题提供解决方案。
🚀 已加入 Awesome Naive-UI 系列。
v2.41.0)。只需在原来的组件名前增加 x- 前缀(例如:<n-data-table> → <x-n-data-table>)。DataTable:提供了列头、单元格、展开行的作用域插槽写法支持。DataTable:提供了列、总结栏的模板写法支持(即在模板中定义 columns、summary prop)。Dropdown:提供了菜单项、图标的作用域插槽写法支持。Dropdown:提供了菜单项、菜单分组的模板写法支持(即在模板中定义 options prop)。Menu:提供了菜单项的模板写法支持(即在模板中定义 options prop)。Menu:提供了菜单项、图标的作用域插槽写法支持。Select:提供了选项、选项组的模板写法支持(即在模板中定义 options prop)。Select:提供了选项、标签的作用域插槽写法支持。Popselect:提供了选项、选项组的模板写法支持(即在模板中定义 options prop)。Popselect:提供了选项的作用域插槽写法支持。Cascader:提供了选项的作用域插槽写法支持。Tree:提供了数据项、开关图标的作用域插槽写法支持。TreeSelect:提供了数据项、标签、开关图标的作用域插槽写法支持。Button:提供了当仅有图标时显示为正方形的样式效果。点此查看。
你可以运行 Demo 来查看更多内容。
> pnpm install # 安装依赖
> pnpm run build # 构建项目
> pnpm run demo # 运行示例,访问 http://localhost:8888/
FAQs
一个对 Naive-UI 组件库的扩展,使 DataTable/Dropdown/Menu/Select/Tree 等组件支持插槽模板式的写法。An extension to Naive-UI component library, that enables slots and template style API for DataTable/Dropdown/Menu/Select/Tree.
We found that @skit/x.naive-ui 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.