Skip to content

Glossary: Vue.js

Slot

Also written: slots, <slot />

A spot in a child's template that the parent fills with its own content. `<slot />` marks it, and anything inside is fallback content.

Where the book teaches it

Related terms

Named slotFallback contentScoped slot