0👍
You can pass data as props when using dynamic components
Parent:
...
<component :is="selectedComponent" yourprop="{ key: value }"></component>
...
Child:
...
export default {
...
props: ['yourprop']
...
}
...
For further information, you should read here
- [Vuejs]-Detection of vue components finish rendering
- [Vuejs]-Axios has wrong URL only with 'heroku local web'
Source:stackexchange.com