Created
January 4, 2022 14:35
-
-
Save 12cassie34/12a601a1685e508ce272b748573cedcc to your computer and use it in GitHub Desktop.
Vue Pagination - Step3-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="btn-group"> | |
<button | |
v-for="pageNumber in totalPages" | |
@click="changeCurrentPage(pageNumber)" | |
> | |
{{ pageNumber }} | |
</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment