English | 简体中文
IE / Edge |
Firefox |
Chrome |
Safari |
Opera |
---|---|---|---|---|
IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
# 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>
npm install @king-design/react--save
import {Button} from '@king-design/react';
function App() {
return <Button>Hello</Button>
}
欢迎加入QQ群反馈问题和获得即时帮助,QQ群:529739732
需要
node@10
以及[email protected]
以上
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