Skip to content
/ kpc Public

A UI Components Library for Intact, Vue, React and Angular.

License

Notifications You must be signed in to change notification settings

ksc-fe/kpc

Repository files navigation

English | 简体中文

Features

  • Support multiple frameworks: Intact / Vue / React.
  • Support TypeScript.
  • Change theme on runtime.
  • Declarative form validation.
  • Excellent documents and design
  • 90% coverage unit tests.

Browsers Support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

Vue

Installation

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

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

Usage

<template>
    <Button>Hello</Button>
</template>
<script>
import {Button} from '@king-design/vue';

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

React

Installation

npm install @king-design/react--save

Usage

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

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

Immediate Feedback

Welcome to join us by QQ. Group Number: 529739732

KPC Official QQ Group

QQ

Links

Develop

Require node@10 ~ node@14 and npm@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

License

MIT