Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Vue component for create a tiny pagination with Flexbox

License

NotificationsYou must be signed in to change notification settings

coderdiaz/vue-tiny-pagination

Repository files navigation

<vue-tiny-pagination />

a Vue component for create a tiny pagination


Install/Usage

$ npm i -S vue-tiny-pagination
<divid="#app"><tiny-pagination:total="currentTotal"@tiny:change-page="changePage"></tiny-pagination></div>
import{TinyPagination}from'vue-tiny-pagination'newVue({el:'#app',data(){return{currentTotal:100,currentPage:1}},methods:{changePage(pagination){this.currentPage=pagination.page}},components:{    TinyPagination}});

Documentation

For see the complete documentation go to theofficial website.

Development

# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build

What's Included

  • npm run dev: Webpack +vue-loader with proper config for source maps & hot-reload.

  • npm run build: build with HTML/CSS/JS minification.

For detailed explanation on how things work, consult thedocs for vue-loader. Also check out thebreaking changes in vue-loader@9.0.0.

Contributions

All contributions are welcome send your PR and Issues.

License

This is a open-source software licensed under theMIT license

Crafted by Javier Diaz

About

A Vue component for create a tiny pagination with Flexbox

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp