基于 VUE 2.x 开发,在追求完美视觉体验的同时也保证了其性能高效。
欢迎批评、指正、吐槽、Star 和捐助
Docs: http://k-ui.cn Blog: http://chuchur.com
漂亮的UI,可定制主题 兼容IE9+ 组件丰富,功能强大
Logs: https://k-ui.cn/#/log
npm install kui-vue --save
<!-- 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>