Question · Vue.js course · Module 8: Slots & Dynamic Components
The :is attribute value
What can be passed to the :is attribute in <component>?
Answer options
- Only a string with an HTML tag name
- Only an imported Vue component
- A string (an HTML tag name or a registered component name) or an imported Vue component
- Only a component ID from the global registry
You can check the correct answer by solving this task in the CodeWorlds game.