0.1.2 • Published 6 years ago
yuex-ui v0.1.2
yuex-ui(基于vue2.0的组件库)
Installation
npm install yuex-ui --save
or
yarn add yuex-uiUsage
import yuexUi from "yuex-ui"
import "yuex-ui/dist/yuex-ui.css"
Vue.use(yuexUi);参数说明(options)
| 参数 | 默认值(type) | 描述 |
|---|---|---|
| current | 1(number) | 当前页 |
| total | 0(number) | 总记录数 |
| pagesize | 15(number) | 一页多少条 |
| pageCount | 7(number) | 页码按钮的数量,当总页数超过该值时会折叠 |
调用翻页的方法
methods:{
changePage(e) {
console.log(e);
}
}新增组件
1、日历组件calendar
使用方法:安装后页面引入 <calendar></calendar> 即可。browser support
Modern browsers and Internet Explorer 11+.
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildRun your tests
npm run testLints and fixes files
npm run lintRun your unit tests
npm run test:unit