KUI for Vue 基于 Vue 2.0 的 UI 组件库 项目简介
KUI for Vue基于 VUE 2.x 开发,在追求完美视觉体验的同时也保证了其性能高效。欢迎批评、指正、吐槽、Star 和捐助 Docs: http://k-ui.xyz Blog: http://chuchur.com特性漂亮的UI,可定制主题 兼容IE9+ 组件丰富,功能强大更新日志:Logs: https://vue.k-ui.xyz/log安装使用npmnpm 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>
<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>