Base Components

Get your learning on with The Vue.js Master Class!

Enroll today and get access to all lessons!

Already have a user? Sign in

Base Components

Base Components

Source Code Download Lesson

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.