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

Mocking Vue Auth

In the last video, we mocked the Vue Router functionality that our component previews depend upon. We chose to mock the functionality rather than provide the real functionalty, since the real functionality is not relevant when the components are previewed in the styleguide.

In this video, we're going to do the same thing for Vue Auth, since the styleguide obviously wont't have authentication status for a user, but we do still want to show components that depend on it.

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


Click to load comments...