Coding task · Vue.js course · Module 8: Slots & Dynamic Components

Practice: Default slot

Create a cargo bay with a default slot - like a docking port of the space station.

Task

Create a CargoBay component with a <slot> tag and fallback content. Use it in App.vue by inserting your own content.