English | 简体中文
- Support multiple frameworks: Intact / Vue / React.
- Support TypeScript.
- Change theme on runtime.
- Declarative form validation.
- Excellent documents and design
- 90% coverage unit tests.
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 '@king-design/vue';
export default {
components: {
Button
}
}
</script>
npm install @king-design/react--save
import {Button} from '@king-design/react';
function App() {
return <Button>Hello</Button>
}
Welcome to join us by QQ. Group Number: 529739732
Require
node@10 ~ node@14
andnpm@6.9
or above.
git clone https://github.com/ksc-fe/kpc.git
cd kpc
npm install
npm run dev:doc
# test
npm run test
# update snapshots
npm run snapshot
# deploy documents
npm run deploy:doc
# release new version
npm run release
MIT