cwl-ui
v0.1.2
Published
基于 wot-design-uni 的二次封装组件库,专为 Vue 3 + TypeScript 项目设计
Downloads
14
Maintainers
Readme
Wot UI
基于 wot-design-uni 的二次封装组件库,专为 Vue 3 + TypeScript 项目设计。
特性
- 🎯 基于 wot-design-uni,提供丰富的高质量组件
- 🔄 二次封装,优化组件 API 和使用体验
- 📦 轻量级,按需引入,不增加包体积
- 🎨 支持暗黑模式和自定义主题
- 🌍 支持国际化
- 📚 完整的文档和示例
快速开始
安装
# npm
npm install wot-ui
# yarn
yarn add wot-ui
# pnpm
pnpm install wot-ui使用
<template>
<WButton type="primary">主要按钮</WButton>
</template>
<script setup lang="ts">
import { WButton } from 'wot-ui'
</script>开发
# 安装依赖
npm install
# 启动开发服务器
npm run dev
# 构建组件库
npm run lib
# 启动文档开发服务器
npm run docs:dev
# 构建文档
npm run docs:build组件列表
- [x] Button 按钮 (WButton) - 二次封装示例
文档
查看完整的文档,请访问 文档站点(运行 npm run docs:dev 后)
License
MIT
