https://github.com/yunliang-ding/pro-components
基于 Arco-Design 扩展
https://github.com/yunliang-ding/pro-components
Last synced: 9 months ago
JSON representation
基于 Arco-Design 扩展
- Host: GitHub
- URL: https://github.com/yunliang-ding/pro-components
- Owner: yunliang-ding
- Created: 2024-09-02T08:18:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T06:15:05.000Z (over 1 year ago)
- Last Synced: 2024-09-18T08:37:42.748Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://procomponents.yunliang.cloud/
- Size: 296 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 介绍
> @yl-d/pro-components 目前是一套基于 arco.design 二次封装的,可快捷开发中后台项目的解决方案
## 安装
> 组件库本身依赖 arco.design,使用需要先安装 arco.design
```shell
pnpm install @yl-d/pro-components
```
```less
@import '@arco-design/web-react/dist/css/arco.css';
@import '@yl-d/pro-components/dist/index.min.css';
```
## 采用 cdn 引入
```html
```
## 前提需要引入 cdn 前置依赖 到 window
```html
```
## 扩展
- 扩展 `Button`,自带 loading,二次确认,支持弹框和抽屉的模型配置
- 扩展 `Form`,基于数据模型的表单渲染,表单联动,异步选择器,自定义组件,默认配置
- 新增 `CreateModal`, `CreateDrawer`,支持 api 打开抽屉或者弹框,Modal 支持可拖拽
- 扩展 `CardForm`, `AnchorCardForm`, `SetpForm`, `SearchForm` 等提交表单
- 扩展 `Table` ,基于数据模型渲染,扩展 toolBar 配置,request 配置,search 配置
- 扩展 `TableList` 针对表格编辑的场景
- 扩展 `DragWrapper`,`DragList`, `DragForm` 轻量级拖拽组件
- 扩展 `OssFileUpload` 文件上传组件
- 新增 `Suspend` 悬浮组件
- 新增 `AppLayout`,中后台布局统一大模版
## 在线文档
[点击跳转文档](https://packages.yunliang.cloud/#/pro-components)