Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Master Vue.js with Vue School Premium

$25 / month

The Vue.js Master Class

Get access to this course, 18 others, and future Vue.js courses!

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.