nonomother-qfui
v1.0.2
Published
这是一个不不妈妈封装的ui组件库
Downloads
26
Readme
安装
cnpm i nonomother-ui -S
使用
在src/main.js
import WOFUI from 'nonomother-ui';
Vue.use(WOFUI);
import 'nonomother-ui/wof-ui.css';
组件
框框
<wof-fieldset>
<h1>不不妈妈</h1>
</wof-fieldset>
<wof-fieldset title="不不妈妈">
<h1>不不超级可可爱爱</h1>
</wof-fieldset>
分页
<wof-row>
<wof-page :total="10" @changePage="changePageFn"></wof-page>
</wof-row>
<script>
export default {
methods: {
changePageFn(n) {
alert(n)
}
}
}
</script>