vue-custom-page

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i vue-custom-page

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

19.1 kB

Total Files

11

Last publish

Collaborators

  • wujingang3