1.0.0 • Published 7 years ago
tt-vue-page v1.0.0
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
1.0.0
7 years ago