2👍
this functionality is possible with vue’s existing v-bind
functionality
<!-- pass down parent props in common with a child component -->
<child-component v-bind="$props"></child-component>
this will pass all the props, which is helpful if you have a wrapper component and want to pass down all props to the child. You can also use a computed value to generate an object if you want to include/exclude data or props.
- [Vuejs]-Error: Error: the "filename" option is required to use includes and extends with "relative" paths
- [Vuejs]-Firestore Promises Query Collection in For Loop (Nuxt.js)
Source:stackexchange.com