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

(singke) #1
Pre-Caching Other Folders and Files for Faster Navigation Chapter 7

You will notice not everything has been documented. A simple function or variable


assignment doesn't need to re-explain what it does, but a note of the main variables will
help anyone looking at it in the future.


Summary


In this section of the book, we've covered quite a lot! We started with querying the Dropbox
API to get a list of files and folders. We then moved on to adding navigation, allowing the


user to click on folders and download files. We then introduced Vuex and the store into our


app, which meant we could centralize the path, breadcrumb, and most importantly, cache
the folder contents. Lastly, we looked at caching sub-folders and the file download link.


In the next section of the book, we are going to look at making a shop. This will include
browsing products in a category and product pages using a new Vue plugin called Vue


router. We will also look at adding products to a basket and storing both the product list


and preferences in the Vuex store.

Free download pdf