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.


This is a companion discussion topic for the original entry at https://vuejsdevelopers.com/lessons/mocking-vue-router/