Vue Router for Everyone (Vue 2)
🚧 PLEASE NOTE: An updated version of this course is available! see the Vue Router 4 for Everyone: Master Routing in Vue.js course. This course is outdated!

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