kpc-vue-next

KPC components for Vue 3.0.


Keywords
component, intact, vue, ui, components, library, king-design, kpc, ui-components, ui-design, web-components
License
MIT
Install
npm install kpc-vue-next@2.0.0-alpha.1

Documentation

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