Coding task · Vue.js course · Module 7: Props & Events

Practice: Multi-root attrs

Manage attributes in a component with multiple root elements.

Task

Create a component with header, main, and footer, assigning $attrs only to main.