tt-vue-page
v1.0.0
Published
a page component for vue
Readme
vue-page
a page components for vue2.0
install
npm npm install tt-vue-page
yarn
yarn add tt-vue-pagehow 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