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

jianghuizhong-ele-ui

v1.0.5

Published

A customized Component Library for Vue.js based on Element UI.

Readme

jianghuizhong-ele-ui

一个基于Element UI 2.15.14定制的Vue.js组件库。

安装

npm install jianghuizhong-ele-ui

使用方法

完整引入

import Vue from 'vue'
import ElementUI from 'jianghuizhong-ele-ui'
import 'jianghuizhong-ele-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

按需引入

import Vue from 'vue'
import { Button } from 'jianghuizhong-ele-ui'

Vue.component(Button.name, Button)

示例

<template>
  <div>
    <el-button type="primary">主要按钮</el-button>
    <el-select v-model="value" placeholder="请选择">
      <el-option label="选项1" value="1"></el-option>
      <el-option label="选项2" value="2"></el-option>
    </el-select>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: ''
    }
  }
}
</script>

特性

  • 🎨 基于Element UI 2.15.14
  • 🚀 轻量级,按需加载
  • 📱 响应式设计
  • 🌍 国际化支持
  • 🎯 TypeScript支持

版本信息

  • 版本: 1.0.3
  • Vue版本要求: ^2.5.17
  • Node.js版本要求: 14.x+

开发

# 安装依赖
npm install

# 启动开发服务器
npm run dev

# 构建
npm run dist

许可证

MIT License

相关链接

常见问题解决

问题:Unknown custom element:

如果遇到 Unknown custom element: <el-button> - did you register the component correctly? 错误,请确保:

  1. 正确引入库
import Vue from 'vue'
import ElementUI from 'jianghuizhong-ele-ui'

Vue.use(ElementUI)
  1. 检查构建版本: 确保使用的是最新构建的版本。如果问题持续,可以重新构建:
npm run build:common
  1. 检查 Vue 版本: 确保 Vue 版本兼容(推荐 Vue 2.5.17+)

  2. 完整示例

<template>
  <div id="app">
    <el-button type="primary">按钮</el-button>
  </div>
</template>

<script>
import Vue from 'vue'
import ElementUI from 'jianghuizhong-ele-ui'
import 'jianghuizhong-ele-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

export default {
  name: 'App'
}
</script>

构建说明

  • npm run dist - 完整构建(包含 lint 检查)
  • npm run dist:fast - 快速构建(跳过 lint 检查)
  • npm run build:common - 只构建 common 版本(最快)