press-ui-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

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';

Package Sidebar

Install

npm i press-ui-react

Weekly Downloads

2

Version

0.0.18

License

MIT

Unpacked Size

53.6 MB

Total Files

4414

Last publish

Collaborators

  • yanggwcn