Introducing Vue-Router and Loading URL-Based Components

In the next few chapters and the last section of this book, we are going to be creating a shop interface. This shop is going to combine everything we have learned so far while introducing some more techniques, plugins, and functionality. We are going to look at retrieving a list of products from a CSV file, displaying them and their variations, and filtering the products by manufacturer or tags. We will also look at creating a product detail view and allowing the user to add and remove products and product variations, such as size or color, to their online shopping basket.

All of this will be achieved using Vue, Vuex, and a new Vue plugin, Vue-router. Vue-router is used for building ...

Get Vue.js 2.x by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.