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

haiwei-ui

v1.2.9

Published

HaiWei前端组件库

Readme

HaiWei.UI

HaiWei.UI 是一个基于 Vue2 + ElementUI 的业务模块化前端快速开发框架,提供丰富的组件库和灵活的模块化架构,帮助开发者快速构建企业级应用。

主要特性

🎯 核心架构

  • 模块化设计 - 支持业务模块的独立开发和集成
  • 组件化开发 - 基于 Vue2 的组件化开发模式
  • 统一状态管理 - 使用 Vuex 进行全局状态管理
  • 路由管理 - 支持动态路由和权限控制

🎨 UI 组件库

  • 基础组件 - 丰富的表单、表格、弹窗等基础组件
  • 业务组件 - 针对常见业务场景封装的专用组件
  • 布局组件 - 灵活的页面布局和导航组件
  • 图表组件 - 数据可视化图表组件

🔧 开发工具

  • 开发服务器 - 内置开发服务器,支持热重载
  • 构建工具 - 基于 Vue CLI 的现代化构建流程
  • 代码规范 - 集成 ESLint 和 Prettier 代码规范
  • TypeScript 支持 - 可选 TypeScript 支持

🛠️ 功能模块

  • 权限管理 - 基于角色的权限控制系统
  • 皮肤主题 - 支持自定义皮肤和主题切换
  • 登录页面 - 可定制的登录页面组件
  • 数据管理 - 统一的数据请求和状态管理

📦 部署与发布

  • npm 发布 - 支持作为 npm 包发布和分发
  • 模块集成 - 模块化的集成和依赖管理
  • 构建优化 - 生产环境构建优化和代码压缩

快速开始

环境要求

  • Node.js >= 12.0.0
  • npm >= 6.0.0

安装依赖

npm install

开发模式

npm run serve

构建生产版本

npm run build

代码检查

npm run lint

项目结构

haiwei-ui/
├── packages/          # 核心包目录
│   ├── components/    # 组件库
│   ├── router/        # 路由配置
│   ├── store/         # 状态管理
│   ├── styles/        # 样式文件
│   └── utils/         # 工具函数
├── src/               # 源码目录
├── public/            # 静态资源
└── script/            # 构建脚本

可用脚本

  • npm run serve - 启动开发服务器
  • npm run build - 构建生产版本
  • npm run lint - 代码规范检查
  • npm run i - 使用淘宝镜像安装依赖
  • npm run up - 使用淘宝镜像更新依赖
  • npm run pub - 发布到 npm
  • npm run cm - 清理 node_modules 和 dist 目录
  • npm run cc - 清理 npm 缓存

技术栈

  • 前端框架: Vue 2.x
  • UI 组件库: Element UI
  • 状态管理: Vuex
  • 路由管理: Vue Router
  • 构建工具: Vue CLI
  • 包管理: npm

浏览器支持

支持现代浏览器和 IE11+。

许可证

ISC License

贡献

欢迎提交 Issue 和 Pull Request!