Advanced Components
Component Registration
Global Registration
Vue.component('MyComponent', { /* options */ })Local Registration
import MyComponent from './MyComponent.vue'
export default {
/* options */
components: { MyComponent }
}Name Casing
With kebab-case
With PascalCase
Single File Component
Types of component
Simple Component
Input Component
Functional Component
Recursive Component
Dynamic Component
Async Component
Async Component with Fallback
Component with inline template
Component as computed property
Abstract Component
Renderless Component
Content Distribution
Slots
Named Slots
Scoped Slots
Last updated