1.0.5 • Published 5 years ago
vue-custom-page v1.0.5
vue-custom-page
A Vue.js project 自定义分页控件
Build Setup
# install dependencies
npm install vue-custom-page
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
How To Do ?
## main.js
import Page from 'vue-custom-page';
## a.vue
data(){
pageinfo:{
index:1,
pagesize:10,
total:''
},
....
}
<Page :pageinfo.sync="pageinfo" @getpageinfo="XXXX"></Page>
For detailed explanation on how things work, consult the docs for vue-loader.