This is what we will build. Pagination of the most starred repositories on Github

Pagination is a commonly used way to display a large set of data. And VueJS makes it easy to create a good UX which always shows something on the screen, even before the data has been fetched from your database or another API.
In this tutorial we will fetch data from the github API and display it in as a paginated dataset.

The source code can be found here:

Let jump straight into it.

Step 1: Setting up the initial project

We will use the vue cli to setup the project. If you don’t have it installed, then I highly…

Sami Lazreg

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store