The Vue.js 2 Master Class
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

🚧 NOTICE: You are watching a Vue.js 2 lesson

Base Components

When you want to use certain parts of your code in many different places, you should extract it to a component. If this component applies app-specific styling and conventions it is called a base component.

In this lesson, we’ll extract the human-friendly date filters we just created to a base component.