January 2019
Intermediate to advanced
272 pages
7h 40m
English
This chapter covers
Mixins and filters are great ways to add reusable functionality to Vue components. In this chapter, you’ll learn what mixins and filters are and how to write unit tests for them.
At this point in the book, the Hacker News application is looking good. You have Vue, Vue Router, and Vuex—the holy trinity of Vue applications—working together to create a dynamic Hacker News feed. In this chapter, you’ll add some finishing touches to improve the UI.
The first section is about mixins. You’ll learn what mixins are and how to test them by ...
Read now
Unlock full access