kui-vue
v5.2.2
Published
A lightweight desktop UI component library suitable for Vue.js 3.
Maintainers
Readme
轻量级桌面UI组件库for Vue.js

English | 简体中文
文档
特性
- 50+高质量组件
- 国际化支持 14 种语言
- 使用TypeScript开发
- 支持Vue3.x
- 支持 SSR
- 支持 Nuxt.js
- 支持 Electron
安装
npm install kui-vue --savenpm add kui-vueyarn add kui-vuebun 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>平台支持
Kui 支持所有主要的现代浏览器。
| chrome | firefox | safari | IE/Edge | Electron | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | latest 2 versions | latest 2 versions | latest 2 versions | Edge | latest 2 versions |
本地开发
克隆仓库到本地:
$ git clone [email protected]:smallerqiu/kui-vue.git
$ cd kui-vue
$ npm install
$ npm start打开浏览器访问 http://127.0.0.1:7005
生态
协议
Copyright (c) 2017-present, Chuchur
