0.1.2 • Published 4 years ago
yuex-ui v0.1.2
yuex-ui(基于vue2.0的组件库)
Installation
npm install yuex-ui --save
or
yarn add yuex-ui
Usage
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 install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Run your unit tests
npm run test:unit