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.
Click to load comments...