poor-ui
v0.3.0
Published
![npm](https://img.shields.io/npm/v/poor-ui) ![GitHub package.json version](https://img.shields.io/github/package-json/v/DenghuaCN/poor-ui?style=flat-square) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/DenghuaCN/poor-u
Downloads
11
Maintainers
Readme
Poor UI
介绍
基于 Vue3
及 TypeScript
的组件库, 具有代码可读性高,组件源代码简洁等特点。本项目基于 Vite3.x
构建。
如何使用
安装
yarn add poor-ui
或
npm install poor-ui
引入 poor-ui
import { Button, Tabs, Switch, Dialog, openDialog } from "poor-ui";
import "poor-ui/dist/lib/poor-ui.css";
本项目使用
- 官网本地运行
yarn
安装依赖yarn dev
运行
- 组件打包,基于 rollup
yarn build:lib
- 自动生成 changelog,基于 conventional-changelog
yarn changelog
自动化
本项目基于 Github Actions,实现了一系列自动化脚本:
- 自动化构建官网(依赖 gh-pages)
main-deploy
- 新代码 push 到 main 分支上,自动构建官网并发布到 gh-pages。
- 自动化发布 npm 包
publish
- 创建新的 release,自动将最新的包发布到 npm。
文档
要查看实时示例和详细的组件文档,请访问文档。
变更记录
CHANGELOG 中记录了每个发行版的详细更改。
License
Copyright (c) 2022 DenghuaCN