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

Practice: Layout with named slots

Design a space station layout with multiple sections.

Task

Create a MarsLayout component with named slots: sidebar, main, and footer. Use the # shorthand syntax in the parent.