tt-vue-page

1.0.0 • Public • Published

vue-page

a page components for vue2.0

install

npm npm install tt-vue-page

yarn

yarn add tt-vue-page

how to use

template

<v-page :length="length"
    v-model="page"></v-page>

script

import Page from 'tt-vue-page'
export default {
    data() {
        return {
            page: 0,
            length: 10
        }
    },
    computed: {},
    watch: {
        page() {
            console.log(this.page)
        }
    },
    created() {},
    methods: {},
    components: {
        'v-page': Page
    }
}

remark

check the demo or create a issues

/tt-vue-page/

    Package Sidebar

    Install

    npm i tt-vue-page

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • andy.jiang