@zhanxp/station-ui
v0.1.2
Published
Station 数据工作站通用 UI 组件库
Readme
@zhanxp/station-ui
Station 数据工作站通用 UI 组件库。
安装
# 配置 registry(项目 .npmrc)
@station:registry=http://maven.xxxxx.com/repository/npm-hosted/
# 安装
npm install @station/ui使用
// 引入样式(入口文件中引入一次)
import '@station/ui/style.css'
// 使用组件
import { EmTable, EmPagination, EmGrid, EmBox, toast, confirm } from '@station/ui'发布
cd packages/station-ui
# 构建
npm run build
# 登录 Nexus(首次)
npm login --registry=http://maven.xxxxx.com/repository/npm-hosted/
# 发布
npm publish组件列表
EmTable— 数据表格(基于 TanStack Table + Virtual,支持排序、固定列、树形展开、虚拟滚动)EmPagination— 分页器EmGrid— 工具栏容器(toolbar + body + footer)EmBox— 面板容器(带标题、主题色、标签页)Loading— 加载指示器toast/ToastContainer— 消息提示alert/AlertContainer— 弹窗提示confirm/ConfirmContainer— 确认对话框
