pro-comp-x
v0.0.2-alhpa.2.7
Published
无限可能的组件库
Keywords
Readme
Pro Comp X
无限可能的组件库
安装
npm install pro-comp-x使用方式
默认版本(不带 antd 编译)
import { ProConfigProvider, Panel } from 'pro-comp-x';带 antd 编译版本
import { ProConfigProvider, Panel } from 'pro-comp-x/with-antd';样式文件
import 'pro-comp-x/style';构建产物
本项目提供两种构建产物:
- 默认版本 (
dist/esm/): 使用原始 antd 依赖,适合开发环境 - 带 antd 编译版本 (
dist/esm-with-antd/): 使用@gzued/antd-compiled,适合生产环境
开发
# 安装依赖
npm install
# 开发模式
npm run dev
# 构建所有产物
npm run build
# 构建带 antd 编译版本
npm run build:with-antd
# 构建默认版本
npm run build:default许可证
MIT
