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

The Vue.js 3 Masterclass

Registering Base Components Globally thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Registering Base Components Globally

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

In this lesson, we'll learn how to register our Base Components globally in our Vue.js application. This allows us to use the component directly without importing and registering it everywhere before we can use it.

Please note, that since the recording of this lesson the Vue.js docs have been updated and no longer include the snippet mentioned in the video for auto registering base components. Please see the source code for this lesson for the snippet.