vue pass data from view to component code example
Example: vuejs pass data to router-view
// App.vue
<router-view name="bookBus" :model="model"></router-view>
// and use model as props in your view
// App.vue
<router-view name="bookBus" :model="model"></router-view>
// and use model as props in your view