kui-vue
特性
- 70+高质量组件
- 国际化支持 14 种语言
- 使用TypeScript开发
- 支持Vue3.x
- 支持 SSR
- 支持 Nuxt.js
- 支持 Electron
文档
安装
使用 pnpm:
pnpm add kui-vue
也可以使用 npm、Yarn 或 Bun:
npm install kui-vue
yarn add kui-vue
bun add kui-vue
使用脚本标记进行全局使用:
<!-- import stylesheet -->
<link rel="stylesheet" href="//unpkg.com/kui-vue/style/index.css" />
<!-- import kui -->
<script src="//unpkg.com/kui-vue"></script>
使用
<template>
<div>
<k-button type="primary" @click="test">Primary</k-button>
</div>
</template>
<script setup lang="ts">
import { message } from "kui-vue";
const test = () => {
message.info("Hello kui !");
};
</script>
本地开发
git clone git@github.com:smallerqiu/kui-vue.git
cd kui-vue
pnpm install
pnpm dev
文档开发服务器默认运行在 http://localhost:7005。
常用命令:
pnpm dev # 启动文档开发服务器
pnpm typecheck # TypeScript 类型检查
pnpm build:docs # 构建文档站
pnpm build # 构建组件库及样式
浏览器支持
支持主流现代浏览器的最近两个版本,包括 Chrome、Edge、Firefox 和 Safari;不支持 Internet Explorer。
AI 辅助开发
Kui Vue 随版本发布组件 metadata、Agent Skill 和 MCP 服务,让 AI 编程工具根据真实公开 API 生成代码,而不是猜测属性。
pnpm exec kui-vue-ai init
pnpm exec kui-vue-mcp
- AI 索引:https://k-ui.cn/llms.txt
- 完整 AI 文档:https://k-ui.cn/llms-full.txt
- npm 组件数据:
kui-vue/metadata - 组件数据 Schema:
kui-vue/metadata/schema - Agent Skill:
kui-vue/skill - 完整接入指南
参与贡献
欢迎提交 Issue 和 Pull Request。在提交代码前,请确保类型检查和相关构建能够通过。
开源协议
Copyright © 2017-present Qiu
Related Packages
futility-ui
A set of ready-to-use UI components for Vue 3, styled according to the Flowbite...
4,934
1
@moduix/vue
Accessible Vue UI components built on Ark UI and styled with CSS Modules. 80+ co...
425
29
Version History
| Version | Released | License |
|---|---|---|
| 6.2.2 | MIT | |
| 6.2.1 | MIT | |
| 6.2.0 | MIT | |
| 6.1.0 | MIT | |
| 6.0.0 | MIT | |
| 5.8.0 | MIT | |
| 5.7.0 | MIT | |
| 5.6.0 | MIT | |
| 5.5.1 | MIT | |
| 5.4.1 | MIT | |
| 5.3.1 | MIT | |
| 5.3.0 | MIT | |
| 5.2.3 | MIT | |
| 5.2.2 | MIT | |
| 5.2.1 | MIT | |
| 5.2.0 | MIT | |
| 5.1.0 | MIT | |
| 5.0.1 | MIT | |
| 5.0.0 | MIT | |
| 4.0.3 | MIT | |
| 4.0.2 | MIT | |
| 4.0.1 | MIT | |
| 4.0.0 | MIT | |
| 3.6.10 | MIT | |
| 3.6.9 | MIT | |
| 3.6.8 | MIT | |
| 3.6.7 | MIT | |
| 3.6.5 | MIT | |
| 3.6.4 | MIT | |
| 3.6.3 | MIT |
Showing the latest 30 of 161. See every release on npm
Pre-releases (51)
| Version | Released | License |
|---|---|---|
| 3.4.4-a | ISC | |
| 3.3.7-rc1 | ISC | |
| 3.3.7-a | ISC | |
| 3.3.6-b | ISC | |
| 3.3.6-d | ISC | |
| 3.3.6-c | ISC | |
| 3.3.6-a | ISC | |
| 3.3.5-b | ISC | |
| 3.3.5-d | ISC | |
| 3.3.5-c | ISC | |
| 3.3.5-a | ISC | |
| 3.3.2-rc1 | ISC | |
| 3.3.0-rc2 | ISC | |
| 3.3.0-rc1 | ISC | |
| 3.2.11-rc6 | ISC | |
| 3.2.11-rc5 | ISC | |
| 3.2.11-rc4 | ISC | |
| 3.2.11-rc3 | ISC | |
| 3.2.11-rc2 | ISC | |
| 3.2.11-rc1 | ISC | |
| 3.2.10-rc2 | ISC | |
| 3.2.10-rc1 | ISC | |
| 3.2.9-rc1 | ISC | |
| 3.2.8-rc4 | ISC | |
| 3.2.8-rc3 | ISC | |
| 3.2.8-rc2 | ISC | |
| 3.2.8-rc1 | ISC | |
| 3.2.6-rc1 | ISC | |
| 3.2.6-rc | ISC | |
| 3.2.3-rc3 | ISC |
Showing the latest 30 of 51. See every release on npm