press-ui-react

简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
7,019 20
Install
npm install press-ui-react
Latest Version:0.0.18
Vue:3
License:MIT
Last Updated:Sep 3, 2026
Links: GitHub  ·  npm
Maintainer: yanggwcn

node downloads NPM Unpacked Size NPM License GitHub last commit GitHub Created At

Press UI

易用、灵活、基于 uni-app 的跨端组件库

查看文档 | 查看示例

1. 介绍

Press UI 的 Vue3 库,适用于非 uni-app 项目。

为方便 Vue3 开发者使用,将 Press UI 组件库进行了打包,使用者无需关心条件编译、CSS预处理器等。

2. 使用方式

将之前引用 Press UI 组件的路径,改成 press-ui-next/es。

// press-ui 引用
import PressButton from 'press-ui/press-button/press-button';

// press-ui-next 引用
import PressButton from 'press-ui-next/es/press-button/press-button';

press-ui-next 打包后的组件是 mjs 文件,引用组件时不能再用 .vue 后缀。

// 错误
import PressButton from 'press-ui-next/es/press-dialog-plus/press-dialog-plus.vue';

// 正确
import PressButton from 'press-ui-next/es/press-dialog-plus/press-dialog-plus';

Related Packages

press-plus

易用的跨端组件库

34,061
press-next

Vue3 组件库,支持 Composition API

20,501
@uni-helper/vite-plugin-uni-components

适用于 uni-app (Vue3) 的 unplugin-vue-components,按需自动导入组件

82,851 44
press-ui

简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目

48,936 20
@uni-helper/uni-use

uni-app (vue3) 组合式工具集

25,772 182

Version History

Version Released Vue License
0.0.18 ^3.2.6 MIT
0.0.17 ^3.2.6 MIT