jmw-testui
v1.0.0
Published
> WOF-UI 是一款基于 Vue.js 2.0 的前端 UI 组件库,主要用于快速开发 PC 网站中后台产品
Downloads
8
Readme
说明
WOF-UI 是一款基于 Vue.js 2.0 的前端 UI 组件库,主要用于快速开发 PC 网站中后台产品
安装
cnpm i jmw-testui -S
使用
在src/main.js
import WOFUI from 'jmw-testui';
Vue.use(WOFUI);
import 'jmw-testui/qf-ui.css';
组件
分组
<test-kuangkuang title="测试">
<h1>哈哈哈哈哈哈</h1>
</test-kuangkuang>
分页
<test-page :total="10" @changePageFn="testFn"></test-page>
<script>
export default {
methods: {
testFn(n) {
alert(n)
}
}
}
</script>