The inheritAttrs Option in Vue
Briefly

In other words, the rendered element would look like the following.The rendered element would look like the following.In the following example, the top-level <div> in the MyComponent template will inherit the class="style-div" attribute.In the following example, the<div> in MyComponent will not inherit the class attribute, or any other attribute.By default, attributes on the component "fall through" to the rendered element.The async-button component needs to execute some logic to disable itself, in addition to executing the user-specified @click handler.
Read at Mastering JS
[
add
]
[
|
|
]