vue-bs-pagination
A very simple vue component - bootstrap pagination
Get started
Import
Build tools
Import via npm
npm install --save vue-bs-pagination
Register component
Vue
Browser
Import via <script>
tag
Usage
Template
In HTML
In SFC
Stylesheet
Use
Bootstrap 3
orBootstrap 4.0-beta
Parameters
props: total: type: Number required: true val > 0 eachSide: type: Number default: 1 val >= 0
Developing & Contributing
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev
/src/components
the source file ofvue-bs-pagination
component/src/docs
the source file of github-pages of this project