1 Star 0 Fork 12

liu506 / kpc

forked from Javey / kpc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

English | 简体中文

特性

  • 支持多框架 Intact / Vue / React
  • 支持TypeScript
  • 动态主题切换
  • 声明式表单验证
  • 完善的文档和精心的设计
  • 90%单元测试覆盖率

浏览器支持

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

Vue

安装

# Vue3
npm install @king-design/vue --save

# Vue2
npm install @king-desing/vue-legacy --save

使用

<template>
    <Button>Hello</Button>
</template>
<script>
import {Button} from 'kpc-vue';

export default {
    components: {
        Button
    }
}
</script>

React

安装

npm install @king-design/react--save

使用

import {Button} from '@king-design/react';

function App() {
    return <Button>Hello</Button>
}

即时反馈

欢迎加入QQ群反馈问题和获得即时帮助,QQ群:529739732 KPC官方交流群

QQ

链接

开发

需要node@10以及npm@6.9以上

git clone https://github.com/ksc-fe/kpc.git
cd kpc
npm install
npm run dev:doc

# 测试
npm run test
# 更新测试快照
npm run snapshot
# 部署文档
npm run deploy:doc
# 发版
npm run release

许可

MIT

MIT License Copyright (c) 2018 Kingsoft Cloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

同时支持Intact/Vue/React框架的前端组件库 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/liu506/kpc.git
git@gitee.com:liu506/kpc.git
liu506
kpc
kpc
master

搜索帮助