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

Mocking Vue Router

Since our preview components are rendered in isolation there's no need for Vue Router. However, there are two features of Vue Router that are hardcoded into some of our components: the router object, and the router link component.

An example of this is the Item Form component. You'll recall from the last module that this component renders a form that can be used either to create a new item, or edit an existing item.

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


Click to load comments...