I have a parent component with the following line
Vue $attrs is the new way to propagate props
From the Docs:
vm.$attrs
Contains parent-scope attribute bindings (except for class and style) that are not recognized (and extracted) as props. When a component doesn’t have any declared props, this essentially contains all parent-scope bindings (except for class and style), and can be passed down to an inner component via
v-bind="$attrs"
- useful when creating higher-order components.
For more information, see Vue.js API Reference - $attrs