npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

void-elem-ui

v1.0.1

Published

<!-- README.md -->

Downloads

7

Readme

void-elem-ui

npm version license

一个基于 Element UI(v2.6+)封装的 Vue 2 组件库,提供若干业务中常用的组合组件,用于减少重复代码。

⚠️ 本库依赖 element-ui,不包含其源码,请确保项目中已安装。

📦 安装

# 安装 Element UI(必需)
npm install element-ui@^2.6.14

# 安装本组件库
npm install void-elem-ui

🔌 使用方式

全局注册

import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import VoidElemUI from "void-elem-ui";

Vue.use(ElementUI);
Vue.use(VoidElemUI); // 需在 ElementUI 之后注册

按需引入(示例)

import { QueryForm, Table } from "void-elem-ui";
export default {
  components: { QueryForm, Table },
};

🧩 当前包含的组件

| 组件名 | 说明 | | --------------- | ------------------------------------------------- | | QueryForm | 基于 el-form 封装的搜索表单,支持字段配置与重置 | | Table | 基于 el-table + el-pagination 的表格组合 | | Dialog | 基于 el-dialog 的弹窗,含确认/取消按钮 | | ImageUpload | 基于 el-upload 的图片上传组件 | | ImageFormItem | 用于表单中的图片上传字段 |

所有组件均直接使用 Element UI 原生组件构建,props 可透传至底层组件。

📄 相关文档

❓ 常见问题

Q:是否支持 Vue 3?
A:不支持。本库仅适用于 Vue 2.6 + Element UI。

Q:能否与原生 Element UI 组件混用?
A:可以。所有组件未修改 Element UI 内部逻辑,可安全共存。

Q:如何自定义样式?
A:可通过覆盖 CSS 类名或使用 Element UI 主题变量调整。