The video for this lesson is currently being updated, please read the transcript instead.

Setting up and installing Vue Router

In the last video, we refactored our app so our existing page content and functionality belongs to a "page component" named Home.

In this video, we're going to set up Vue Router to manage our views.

Adding Vue Router plugin

Let's begin by adding Vue Router to the project. It can, of course, be added as a Vue CLI plugin (with the simple command vue add router) but in this course we're going to add it manually so we know how to set up the router from scratch.

To view the complete lesson you'll need to login or join this course.


Click to load comments...