Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Master Vue.js with Vue School Premium

$25 / month

Vue Router for Everyone

Get access to this course, 18 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

Creating Routes

In this lesson, we’re going to learn how to add new routes and pages to the Vue Router.

Before we can dive into creating our travel app we need to download and import the starter files and do some light refactoring.

If you're following along, make sure you

  1. Copy all the files in the assets folder to src/assets

  2. Copy the store.js file to the src folder