Building a Vue.js 2.0 app using vue-router


A new tutorial which can help you create an app using Vue.js 2. This post will walk you through creating a client-side Vue JS app using Vue Router. In the tutorial, Vue 2.0.3, Vue Router 2.0.1 are being used, and the data has been generated using JSON Generator.

The main steps are :

  • Loop through data
  • Create the listing component
  • Create a detail view component
  • Setup the router
  • Create the routes

Working vue-router example.

A post by Mike Street