Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
Building an E-Commerce Store - Browsing Products Chapter 10

This ensures all the computed variables update when a different page is navigated to. Open


your HomePage component and ensure all your pagination components work accordingly


and update the list.


Updating the items per page


The last user interface addition we need to create is allowing the user to update the number


of products per page. To initially set this up, we can create a