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

uview-pro-plus

v0.1.1

Published

uview-pro-plus - 基于 Vue3 + TypeScript 的 uni-app 跨端 UI 组件库。120+ 组件,Composition API + script setup,删除 $u God Object 改为 tree-shakeable 工具函数,useDefaults 全局默认值系统,三层主题架构(CSS vars + SCSS + TS tokens),暗黑模式,多语言,支持微信/支付宝/H5/App/鸿蒙多端

Readme

简介

uView Pro Plus 是一个基于 uni-app 的 Vue3 + TypeScript 多平台 UI 框架,提供 120+ 高质量组件,覆盖移动端常用场景,支持 H5、微信、支付宝、QQ、头条、App、鸿蒙等多个平台。

本项目基于 uview-plus 进行深度重构和增强,主要改进包括:

  • 全面迁移至 TypeScript + <script setup> 语法
  • 删除 $u God Object,改为 tree-shakeable 的工具函数直接导入
  • 新增 useDefaults 系统(基于 Proxy + vnode.props)
  • 重构 useParent/useChildren 为 provide/inject 模式
  • 拆分 ConfigProvider 为 ThemeProvider + LocaleProvider + DefaultsProvider
  • 新增 CSS 变量命名规范(--u-color-primary 新规范 + 旧别名兼容)
  • 新增多个高质量业务组件(u-coupon, u-goods-sku, u-virtual-list 等)

核心特性

  • 120+ 组件,覆盖移动端常用场景
  • TypeScript 原生,完整类型推导
  • Composition API(<script setup>)编写
  • 暗色模式 + 运行时主题切换
  • useDefaults 全局默认值覆盖
  • 多语言国际化(vue-i18n)
  • 支持多平台(H5 / 微信 / 支付宝 / QQ / 头条 / App / 鸿蒙)
  • Tree-shaking 友好,按需引入

安装

方式一:npm 安装

npm install uview-pro-plus
# 或
pnpm add uview-pro-plus

方式二:uni_modules 安装

DCloud 插件市场 下载,将 uview-pro-plus 目录放入项目的 src/uni_modules/ 下。

使用方式

1. 引入样式

uni.scss 中引入主题变量:

@import 'uview-pro-plus/theme.scss';

App.vue 引入基础样式:

<style lang="scss">
@import 'uview-pro-plus/index.scss';
</style>

如果使用 uni_modules 方式安装,路径改为 @/uni_modules/uview-pro-plus/theme.scss

2. 配置 easycom

pages.json 中配置自动引入:

{
    "easycom": {
        "autoscan": true,
        "custom": {
            "^u-(.*)": "uview-pro-plus/components/u-$1/u-$1.vue"
        }
    }
}

如果使用 uni_modules 方式安装,路径改为 @/uni_modules/uview-pro-plus/components/u-$1/u-$1.vue

3. 使用组件

配置完成后,无需手动 import,直接在模板中使用:

<template>
    <u-button type="primary" text="按钮" />
</template>

致谢

本项目站在以下优秀开源项目的肩膀上:

感谢这些项目的作者和贡献者们。

文档与链接

许可证

MIT

Copyright (c) 2025-present fzmdev (uView Pro Plus) Copyright (c) 2022-2024 uview-plus.jiangruyi.com (uview-plus)