Watch 1 Star 0 Fork 0

chuchur / kui-vue

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
A high quality UI components Library with Vue.js spread retract

https://k-ui.cn

Clone or download
Loading...
readme.md

KUI for Vue

基于VUE 2.x 开发,在追求完美视觉体验的同时也保证了其性能高效。
欢迎批评、指正、吐槽、Star捐助

开发

npm run dev

编译

//编译文档
npm run build:docs
//编译组件
npm run build

文档

Docs: https://vue.k-ui.cn
Blog: http://chuchur.com
Gitee: https://gitee.com/chuchur/kui-vue

特性

漂亮的UI,可定制主题
兼容IE9+
支持SSR
支持Nuxt
组件丰富

For React

kui-react

更新日志:

Logs: https://vue.k-ui.cn/#log

安装

使用npm

npm install kui-vue --save

使用CDN

<!-- import Vue.js -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- import stylesheet -->
<link rel="stylesheet" href="//unpkg.com/kui-vue/dist/k-ui.css">
<!-- import kui -->
<script src="//unpkg.com/kui-vue/dist/k-ui.js"></script>

示例

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>kui example</title>
  <link rel="stylesheet" type="text/css" href="http://unpkg.com/kui-vue/dist/k-ui.css">
  <script type="text/javascript" src="http://vuejs.org/js/vue.min.js"></script>
  <script type="text/javascript" src="http://unpkg.com/kui-vue/dist/k-ui.js"></script>
</head>
<body>
<div id="app">
  <k-button @click="show">Click me!</k-button>
  <Modal v-model="visible" title="Welcome">Welcome to use kui</Modal>
</div>
<script>
  new Vue({
    el: '#app',
    data: {
      visible: false
    },
    methods: {
      show: function () {
        this.visible = true;
      }
    }
  })
  </script>
</body>
</html>

Comments ( 0 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025